소스 검색

wesmiler 更新第5期升级

wesmiler 5 년 전
부모
커밋
7a645ca63a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {
                 if (res.code == 'success') {
                     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 {
                     $.toast(res.message, 'text');
                 }