Browse Source

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table into beta

SanHQin 2 months ago
parent
commit
a026ffda19
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/mixins/mixin.js

+ 1 - 0
src/mixins/mixin.js

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