Browse Source

平台配置

ct 17 hours ago
parent
commit
1841cb9d89
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/views/system/config/config.vue
  2. 1 1
      src/views/system/config/config2.vue

+ 2 - 2
src/views/system/config/config.vue

@@ -3929,7 +3929,7 @@ export default {
         if (key == 'redPacket.config') {
           this.form19 = JSON.parse(response.data.configValue)
         }
-        if (key == 'qwRating.config') {
+        if (key == 'qwRating:config') {
           this.form20 = JSON.parse(response.data.configValue)
         }
         if (key == 'courseMa.config') {
@@ -4260,7 +4260,7 @@ export default {
             return
           }
 
-          var param = { configId: this.configId, configValue: JSON.stringify(this.form20) }
+          var param = { configId: this.configId, configValue: JSON.stringify(this.form20),configKey: this.configKey}
           updateConfigByKey(param).then(response => {
             if (response.code === 200) {
               this.msgSuccess('修改成功')

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

@@ -1602,7 +1602,7 @@ export default {
           if(key=="redPacket.config"){
             this.form19 =JSON.parse(response.data.configValue);
           }
-          if(key=="qwRating.config"){
+          if(key=="qwRating:config"){
             this.form20 =JSON.parse(response.data.configValue);
           }
           if(key=="courseMa.config"){