Browse Source

style(student): 格式化登录页面代码

- 使用 ESLint规则格式化了 Vue 组件代码
- 调整了缩进、空格和换行
- 修复了一些小的语法问题
master
liutong 1 year ago
parent
commit
74dce8c807
  1. 2
      pages/student/login/login.vue

2
pages/student/login/login.vue

@ -73,7 +73,7 @@
uni.setStorageSync('token', res.data.token); uni.setStorageSync('token', res.data.token);
let userType = res.data.userType let userType = res.data.userType
// userType = 2// // userType = 3//
console.log('用户类型', userType) console.log('用户类型', userType)
uni.setStorageSync('userType', userType); uni.setStorageSync('userType', userType);

Loading…
Cancel
Save