YY 2 سال پیش
والد
کامیت
a2251cb3a9
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      src/views/platSettings/config/index.vue

+ 2 - 3
src/views/platSettings/config/index.vue

@@ -82,8 +82,8 @@ export default {
       fieldsList: [
         { label: '名称', model: 'name' },
         { label: '跳转路径', model: 'route' },
-        // { label: '未选中', model: 'normal' },
-        // { label: '选中', model: 'active' },
+        { label: '未选中', model: 'normal[0].name' },
+        { label: '选中', model: 'active[0].name' },
         {
           label: '跳转类型',
           model: 'type',
@@ -169,7 +169,6 @@ export default {
       let config = { logo: data.logo, buyPoint: data.buyPoint, pointPlan: data.pointPlan, share: data.share, autoCloseOrder: data.autoCloseOrder };
       data.config = config;
       const res = await this.update(data);
-      console.log(data);
       this.$checkRes(res, '操作成功', '操作失败');
     },