瀏覽代碼

feature:修改添加设备的资源平台的编辑刷新

zeng.chen 1 月之前
父節點
當前提交
c3c03450dc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/device/list/detail.vue

+ 2 - 0
src/views/device/list/detail.vue

@@ -370,6 +370,8 @@ export default {
         }).then((res) => {
         }).then((res) => {
           if (res.code === 0) {
           if (res.code === 0) {
             this.form = res.data;
             this.form = res.data;
+            this.contentVipPlatformList = this.form.contentVipPlatformList;
+            this.isShowPlatform = this.form.contentVipPlatformList.length > 0;
             this.form.typeList.map((i) => {
             this.form.typeList.map((i) => {
               this.devModeOptions[i.type - 1].disabled = true;
               this.devModeOptions[i.type - 1].disabled = true;
             });
             });