更改了教师登录逻辑

main
puz372fkg 2 months ago
parent bc59053d11
commit b334eafbc4

@ -20,7 +20,6 @@ Page({
// 教师登录逻辑 // 教师登录逻辑
const { studentId, name } = this.data; const { studentId, name } = this.data;
if (studentId === '520' && name === 'fzu') { if (studentId === '520' && name === 'fzu') {
// 匹配成功,跳转到教师端
wx.navigateTo({ wx.navigateTo({
url: '/pages/teacherHomePage/teacherHomePage' url: '/pages/teacherHomePage/teacherHomePage'
}); });

Loading…
Cancel
Save