From d77081cf16773d0724c0fe7c944c4020e762f68d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 27 Oct 2021 16:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=99=BB=E5=BD=95=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/account/login/index.vue | 4 +--- src/store/modules/user.js | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index b803bdd..241a2a4 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -70,9 +70,7 @@ export default { account: 'admin', password: '111aaa', random: '', - code: '', - type: 2, // 平台端区分:0->教师端 1->学生端 2->无端 - platform: Setting.platformId, // 所属平台id(1.职站 2.数据平台 3.中台) + code: '' }, rules: { account: [{ required: true, message: '请输入账号', trigger: 'blur' }], diff --git a/src/store/modules/user.js b/src/store/modules/user.js index ee1fffd..8b0f0cb 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -38,9 +38,10 @@ export default { account, password, code, - platform: Setting.platformId, random, - distinguish + distinguish, + type: 2, // 平台端区分:0->教师端 1->学生端 2->无端 + platform: Setting.platformId, // 所属平台id(1.职站 2.数据平台 3.中台) }).then(res => { if(res.status == 200){ commit('SET_CUSTOMER',res.data.customer)