update @修改错误校验

This commit is contained in:
huangzhen 2024-09-06 21:00:24 +08:00
parent 47ce6e5422
commit 6e6d92209f
5 changed files with 27 additions and 3 deletions

View File

@ -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'; // 正式地址
// 合并公共配置,并添加开发环境配置

View File

@ -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>

View File

@ -473,7 +473,14 @@ 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 ? '领取方式错误' : '')
}
},
//

View File

@ -203,7 +203,14 @@ 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 ? '领取方式错误' : '')
}
},
//

View File

@ -218,7 +218,14 @@ 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 ? '领取方式错误' : '')
}
},
//