update @修改错误校验
This commit is contained in:
parent
47ce6e5422
commit
6e6d92209f
|
@ -1,8 +1,8 @@
|
|||
const { merge } = require('webpack-merge')
|
||||
const baseConfig = require('./webpack.base.js')
|
||||
|
||||
const VITE_BASE_URL = 'http://192.168.110.126:8099'; // 樊波
|
||||
// const VITE_BASE_URL = 'http://120.55.12.245:8098'; // 测试-公网
|
||||
// const VITE_BASE_URL = 'http://192.168.110.126:8099'; // 樊波
|
||||
const VITE_BASE_URL = 'http://120.55.12.245:8098'; // 测试-公网
|
||||
// const VITE_BASE_URL = 'https://scens.admin.86698.cn'; // 正式地址
|
||||
|
||||
// 合并公共配置,并添加开发环境配置
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
||||
<script>
|
||||
var vConsole = new window.VConsole();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -473,8 +473,15 @@ export default {
|
|||
// 唤起小程序 todo
|
||||
location.href = 'https://www.baidu.com/';
|
||||
}
|
||||
} else {
|
||||
if (!this.openid) {
|
||||
// 微信进入未获取到 openid
|
||||
location.replace(`${this.wxAuthUrl}?jump=${location.href}`);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
showToast(!channel ? '渠道错误' : !mode ? '领取方式错误' : '')
|
||||
}
|
||||
},
|
||||
// 复制文本
|
||||
copyFn(text: string) {
|
||||
|
|
|
@ -203,8 +203,15 @@ export default {
|
|||
// 唤起小程序 todo
|
||||
location.href = 'https://www.baidu.com/';
|
||||
}
|
||||
} else {
|
||||
if (!this.openid) {
|
||||
// 微信进入未获取到 openid
|
||||
location.replace(`${this.wxAuthUrl}?jump=${location.href}`);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
showToast(!channel ? '渠道错误' : !mode ? '领取方式错误' : '')
|
||||
}
|
||||
},
|
||||
// 复制文本
|
||||
copyFn(text: string) {
|
||||
|
|
|
@ -218,8 +218,15 @@ export default {
|
|||
// 唤起小程序 todo
|
||||
location.href = 'https://www.baidu.com/';
|
||||
}
|
||||
} else {
|
||||
if (!this.openid) {
|
||||
// 微信进入未获取到 openid
|
||||
location.replace(`${this.wxAuthUrl}?jump=${location.href}`);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
showToast(!channel ? '渠道错误' : !mode ? '领取方式错误' : '')
|
||||
}
|
||||
},
|
||||
// 复制文本
|
||||
copyFn(text: string) {
|
||||
|
|
Loading…
Reference in New Issue