Ver Fonte

scrm积分配置迁移到his_scrm项目-数据无法回显问题

yjwang há 1 mês atrás
pai
commit
c159160a7e
1 ficheiros alterados com 7 adições e 1 exclusões
  1. 7 1
      src/views/system/config/config.vue

+ 7 - 1
src/views/system/config/config.vue

@@ -2112,6 +2112,12 @@ export default {
             if(this.form21.images!=null){
               this.images=this.form21.images.split(",");
             }
+          } else if(key=="store.integral"){
+            this.configId=response.data.configId;
+            this.configKey=response.data.configKey;
+            console.log(response.data.configValue)
+            this.form24 =JSON.parse(response.data.configValue);
+            console.log(this.form24.sign)
           }
         });
      },
@@ -2316,7 +2322,7 @@ export default {
       });
     },
     submitForm24(){
-      this.$refs["form3"].validate(valid => {
+      this.$refs["form24"].validate(valid => {
         if (valid) {
           var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form24)}
           updateConfigByKey(param).then(response => {