Commit 807ec55c authored by 黄奎's avatar 黄奎

页面修改

parent b8e5c6a7
......@@ -171,7 +171,7 @@
<el-form-item label="" prop="Password">
<el-input type="password" v-model="msg.Password" placeholder="请输入密码" maxlength="25" />
</el-form-item>
<el-form-item label="" prop="ValidataCode" style="display:none;">
<el-form-item label="" style="display:none;">
<el-input v-model="msg.ValidataCode" style="width:140px;" placeholder="验证码" maxlength="25" />
<img class="pic-captcha" src="" />
</el-form-item>
......@@ -232,11 +232,11 @@
message: "请输入密码",
trigger: "blur"
}],
ValidataCode: [{
required: true,
message: "请输入右侧图片上的文字",
trigger: "blur"
}]
// ValidataCode: [{
// required: true,
// message: "请输入右侧图片上的文字",
// trigger: "blur"
// }]
},
};
},
......@@ -254,9 +254,9 @@
if (this.msg.Password == "") {
this.Info("请输入密码!")
}
if (this.msg.ValidataCode == "") {
this.Info("请输入验证码!")
}
// if (this.msg.ValidataCode == "") {
// this.Info("请输入验证码!")
// }
this.apipost("/api/Tenant/Login", this.msg, res => {
if (res.data.resultCode == 1) {
var userData = res.data.data;
......
......@@ -59,7 +59,7 @@ export default {
domainUrl = "http://mallapi.oytour.com";
let locationName = window.location.hostname;
if (locationName.indexOf('testerp.oytour') !== -1) {
if (locationName.indexOf('testmall.oytour') !== -1) {
domainUrl = "http://mallapi.oytour.com";
} else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://mallapi.oytour.com";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment