11wqe1 2 tháng trước cách đây
mục cha
commit
fa644722b8
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/mixins/mixin.js

+ 1 - 0
src/mixins/mixin.js

@@ -70,6 +70,7 @@ export const myMixin = {
         accountNumber: this.roleUser.accountNumber,
         org: this.roleUser.orgName,
         school: this.roleUser.schoolName,
+        role: this.roleUser.type =='1'?'老师':'学生',
         browser: browser,
         userTime: userTime == "1" ? _time : userTime, // 使用时间 1次的就1 其次传秒
         loadTime: loadTime, //load的时间没有就“”