Explorar o código

wesmiler 更新第5期升级

wesmiler %!s(int64=5) %!d(string=hai) anos
pai
achega
7a645ca63a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/themes/default/weixin/public/assets/js/advice.js

+ 1 - 1
public/themes/default/weixin/public/assets/js/advice.js

@@ -31,7 +31,7 @@ var app = new Vue({
             $.post('/api/index/params', {type:3}, function (res) {
             $.post('/api/index/params', {type:3}, function (res) {
                 if (res.code == 'success') {
                 if (res.code == 'success') {
                     var paramDatas = res.data;
                     var paramDatas = res.data;
-                    _this.types = typeof (paramDatas.complainTypes) != 'undefined' ? paramDatas.complainTypes : _this.types;
+                    _this.types = typeof (paramDatas.adviceTypes) != 'undefined' ? paramDatas.adviceTypes : _this.types;
                 } else {
                 } else {
                     $.toast(res.message, 'text');
                     $.toast(res.message, 'text');
                 }
                 }