@@ -1,7 +1,6 @@
|
||||
// 应用全局配置
|
||||
const config = {
|
||||
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
|
||||
baseUrl: 'http://152.136.151.187:82/prod-api',
|
||||
baseUrl: 'https://qdintc.com//prod-api',
|
||||
// baseUrl: 'http://localhost:8080',
|
||||
//cloud后台网关地址
|
||||
// baseUrl: 'http://192.168.10.3:8080',
|
||||
@@ -14,15 +13,15 @@ const config = {
|
||||
// 应用logo
|
||||
logo: "/static/logo.jpg",
|
||||
// 官方网站
|
||||
site_url: "http://www.qdintc.com",
|
||||
site_url: "https://www.qdintc.com",
|
||||
// 政策协议
|
||||
agreements: [{
|
||||
title: "隐私政策",
|
||||
url: "http://qdintc.com/static/protocol.html"
|
||||
url: "https://qdintc.com/static/protocol.html"
|
||||
},
|
||||
{
|
||||
title: "用户服务协议",
|
||||
url: "http://qdintc.com/static/protocol.html"
|
||||
url: "https://qdintc.com/static/protocol.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,13 +14,6 @@
|
||||
<view class="iconfont icon-password icon"></view>
|
||||
<input v-model="loginForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" />
|
||||
</view>
|
||||
<view class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
|
||||
<view class="iconfont icon-code icon"></view>
|
||||
<input v-model="loginForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
|
||||
<view class="login-code">
|
||||
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex align-center" style="margin-left: 5px;">
|
||||
<up-checkbox
|
||||
:customStyle="{marginBottom: '8px'}"
|
||||
@@ -114,8 +107,6 @@ async function handleLogin() {
|
||||
modal.msgError("请输入您的账号")
|
||||
} else if (loginForm.value.password === "") {
|
||||
modal.msgError("请输入您的密码")
|
||||
} else if (loginForm.value.code === "" && captchaEnabled.value) {
|
||||
modal.msgError("请输入验证码")
|
||||
} else {
|
||||
modal.loading("登录中,请等待...")
|
||||
pwdLogin()
|
||||
|
||||
Reference in New Issue
Block a user