Commit 416d6b89 by 周海峰

no message

parent b06830b9
......@@ -81,6 +81,9 @@
></q-uploader>
</div>
</q-field>
<q-field>
<q-select v-model="localTemp.qyflag" float-label="启用/停用" radio :options="selectOptions"/>
</q-field>
</q-card-section>
</q-card>
......@@ -91,9 +94,7 @@
<q-field :count="255">
<q-input v-model="localTemp.href" float-label="电脑入口" />
</q-field>
<q-field>
<q-select v-model="localTemp.qyflag" float-label="启用/停用" radio :options="selectOptions"/>
</q-field>
</q-card-section>
</q-card>
......@@ -110,9 +111,7 @@
<q-field :count="255">
<q-input v-model="localTemp.wechatUrl" float-label="企微入口" />
</q-field>
<q-field :count="200">
<q-select v-model="localTemp.appEnable" float-label="应用启用/停用" radio :options="selectOptions"/>
</q-field>
</q-card-section>
</q-card>
</div>
......@@ -149,9 +148,7 @@ export default {
if (v) {
this.localTemp = JSON.parse(JSON.stringify(this.temp || {}));
this.fetchApplicationsGroupOptions();
if (this.localTemp.appEnable === undefined || this.localTemp.appEnable === null) {
this.localTemp.appEnable = '0';
}
if (this.localTemp.img === undefined) {
this.$set(this.localTemp, 'img', '');
}
......@@ -163,9 +160,7 @@ export default {
temp(n) {
if (this.visible) {
this.localTemp = JSON.parse(JSON.stringify(n || {}));
if (this.localTemp.appEnable === undefined || this.localTemp.appEnable === null) {
this.localTemp.appEnable = '0';
}
if (this.localTemp.img === undefined) {
this.$set(this.localTemp, 'img', '');
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论