Просмотр исходного кода

wesmiler 更新第5期更新代码合并

wesmiler 4 лет назад
Родитель
Сommit
a20e435cf7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/themes/default/weixin/public/assets/js/reg.js

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

@@ -45,7 +45,7 @@ var app = new Vue({
         var inviteId = getParam('sid');
         var type = getParam('type');
         inviteId = typeof (inviteId) != 'undefined'? inviteId : 0;
-        params.type = typeof (type) != 'undefined'? type : 0;
+        this.params.type = typeof (type) != 'undefined'? type : 0;
         if(inviteId){
             this.inviteId = inviteId;
             this.getInviteInfo(inviteId)