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