|
@@ -22,13 +22,13 @@
|
|
|
</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="captchaCode">
|
|
|
+ <!-- <el-form-item prop="captchaCode">
|
|
|
<el-input placeholder="请输入验证码" v-model="loginForm.captchaCode" input-style="height:40px;" style="flex:1;" tabindex="3"
|
|
|
@keyup.enter="submitForm()">
|
|
|
|
|
|
</el-input>
|
|
|
<img :src="captchaImgUrl" style="z-index: 100;border-radius: 2px;cursor: pointer;" @click="loadCaptcha"/>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<div class="login-btn">
|
|
|
<el-checkbox v-model="rembme" checked label="记住我" true-value="1" true-label="1" style="color:#fff;margin-right: 10px;"/>
|
|
|
<el-button type="primary" @click="submitForm()" size="default" tabindex="3" :loading="isLoading">登录</el-button>
|
|
@@ -63,7 +63,7 @@ import { useHomeStore } from "../store/home.js"
|
|
|
const rules = {
|
|
|
loginId: [{required: true, message: "请输入用户名",trigger: "blur"}],
|
|
|
pwd: [{ required: true, message: "请输入密码", trigger: "blur" }],
|
|
|
- captchaCode: [{ required: true, message: "请输入验证码", trigger: "blur" }]
|
|
|
+ //captchaCode: [{ required: true, message: "请输入验证码", trigger: "blur" }]
|
|
|
};
|
|
|
const captchaImgUrl=ref(null)
|
|
|
const isLoading=ref(false)
|
|
@@ -113,7 +113,8 @@ import { useHomeStore } from "../store/home.js"
|
|
|
|
|
|
}
|
|
|
loadCaptcha()
|
|
|
-
|
|
|
+ app.putSetting("network",location.host.indexOf("10.")>=0?1:0)
|
|
|
+ //console.log(location.host)
|
|
|
})
|
|
|
</script>
|
|
|
|