|
@@ -149,7 +149,7 @@ export default {
|
|
|
rememberMe: false,
|
|
rememberMe: false,
|
|
|
tenantName: "芋道源码",
|
|
tenantName: "芋道源码",
|
|
|
},
|
|
},
|
|
|
- scene: 21,
|
|
|
|
|
|
|
+ scene: 1,
|
|
|
|
|
|
|
|
LoginRules: {
|
|
LoginRules: {
|
|
|
username: [
|
|
username: [
|
|
@@ -313,7 +313,7 @@ export default {
|
|
|
if (this.mobileCodeTimer > 0) return;
|
|
if (this.mobileCodeTimer > 0) return;
|
|
|
this.$refs.loginForm.validate(valid => {
|
|
this.$refs.loginForm.validate(valid => {
|
|
|
if (!valid) return;
|
|
if (!valid) return;
|
|
|
- sendSmsCode(this.loginForm.mobile, this.scene, this.loginForm.uuid, this.loginForm.code).then(res => {
|
|
|
|
|
|
|
+ sendSmsCode(this.loginForm.mobile, this.scene ).then(res => {
|
|
|
this.$modal.msgSuccess("获取验证码成功")
|
|
this.$modal.msgSuccess("获取验证码成功")
|
|
|
this.mobileCodeTimer = 60;
|
|
this.mobileCodeTimer = 60;
|
|
|
let msgTimer = setInterval(() => {
|
|
let msgTimer = setInterval(() => {
|