Bläddra i källkod

Merge branch 'master' into work-newCreate

朱鑫波 3 år sedan
förälder
incheckning
dd2288c423
2 ändrade filer med 5 tillägg och 3 borttagningar
  1. 4 2
      src/views/modules/material/accountCheckBytedance.vue
  2. 1 1
      vue.config.js

+ 4 - 2
src/views/modules/material/accountCheckBytedance.vue

@@ -90,7 +90,7 @@
           <div class="text-item">是否同步快手主页</div>
           <!-- <div class="required-item"></div> -->
         </div>
-        <div class="input-item">
+        <div class="input-item" v-if="showEdit">
           <a-form-item>
             <a-switch v-model="shieldBackwardSwitch" />
           </a-form-item>
@@ -156,7 +156,7 @@ export default {
       label: 'label',
       id: 'id',
     },
-    shieldBackwardSwitch: true,
+    shieldBackwardSwitch: false,
     showEdit: false,
     value: null,
     valueConsistsOf: 'LEAF_PRIORITY',
@@ -220,6 +220,8 @@ export default {
       this.$emit('synchro', {treeData:dataArr,shieldBackwardSwitch:this.shieldBackwardSwitch})
     },
     close() {
+      // this.$refs.tree.setCheckedKeys([])
+      this.shieldBackwardSwitch = false
       this.showEdit = false
     },
     ...mapGetters(['nickname', 'avatar', 'userInfo']),

+ 1 - 1
vue.config.js

@@ -108,7 +108,7 @@ module.exports = {
         target: 'http://192.168.1.59:7701', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要jeecg-boot后台项目  李煜一
-        // target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
+        target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目