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

页面修改

parent b8e5c6a7
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
<el-form-item label="" prop="Password"> <el-form-item label="" prop="Password">
<el-input type="password" v-model="msg.Password" placeholder="请输入密码" maxlength="25" /> <el-input type="password" v-model="msg.Password" placeholder="请输入密码" maxlength="25" />
</el-form-item> </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" /> <el-input v-model="msg.ValidataCode" style="width:140px;" placeholder="验证码" maxlength="25" />
<img class="pic-captcha" src="" /> <img class="pic-captcha" src="" />
</el-form-item> </el-form-item>
...@@ -232,11 +232,11 @@ ...@@ -232,11 +232,11 @@
message: "请输入密码", message: "请输入密码",
trigger: "blur" trigger: "blur"
}], }],
ValidataCode: [{ // ValidataCode: [{
required: true, // required: true,
message: "请输入右侧图片上的文字", // message: "请输入右侧图片上的文字",
trigger: "blur" // trigger: "blur"
}] // }]
}, },
}; };
}, },
...@@ -254,9 +254,9 @@ ...@@ -254,9 +254,9 @@
if (this.msg.Password == "") { if (this.msg.Password == "") {
this.Info("请输入密码!") this.Info("请输入密码!")
} }
if (this.msg.ValidataCode == "") { // if (this.msg.ValidataCode == "") {
this.Info("请输入验证码!") // this.Info("请输入验证码!")
} // }
this.apipost("/api/Tenant/Login", this.msg, res => { this.apipost("/api/Tenant/Login", this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var userData = res.data.data; var userData = res.data.data;
......
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
domainUrl = "http://mallapi.oytour.com"; domainUrl = "http://mallapi.oytour.com";
let locationName = window.location.hostname; let locationName = window.location.hostname;
if (locationName.indexOf('testerp.oytour') !== -1) { if (locationName.indexOf('testmall.oytour') !== -1) {
domainUrl = "http://mallapi.oytour.com"; domainUrl = "http://mallapi.oytour.com";
} else if (locationName.indexOf('oytour') !== -1) { } else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://mallapi.oytour.com"; 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