发版部署

This commit is contained in:
X1627315083
2024-07-09 22:53:04 +08:00
parent 62b7e32e3e
commit e0bb4b3c59
2 changed files with 17 additions and 17 deletions

View File

@@ -11,9 +11,9 @@ const routes: Array<RouteRecordRaw> = [
path: "/",
// redirect重定向
// redirect: "/login"
redirect: "/upgrade"
// name: "HomeRecommend",
// component: _import('HomeRecommend'),
// redirect: "/upgrade"
name: "HomeRecommend",
component: _import('HomeRecommend'),
},
{
path: '/login',
@@ -162,18 +162,18 @@ if (vuex_setSystemUser == 0 || vuex_setSystemUser == 1) {
router.beforeEach((to, from, next) => {
// 系统维护
let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN']//指定页面系统维护也可以访问
const toName = to.name === 'upgrade';
if(upgradeList.indexOf(to.path) > -1){
next();
}else{
if (toName) {
next();
} else {
next({ name: 'upgrade' });
}
}
return
// let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN']//指定页面系统维护也可以访问
// const toName = to.name === 'upgrade';
// if(upgradeList.indexOf(to.path) > -1){
// next();
// }else{
// if (toName) {
// next();
// } else {
// next({ name: 'upgrade' });
// }
// }
// return
// 检查路由是否存在
// 机房用户
let userInfo = JSON.parse(getCookie("userInfo") as any);

View File

@@ -295,9 +295,9 @@ export default defineComponent({
let url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-使用手册-0705.pdf'
if(this.locale == 'ENGLISH'){
url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-Manual-0705.pdf'
showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4'})
showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/07/AiDA-demo-video_0709_EN-2.mp4'})
}else{
showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4'})
showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/07/AiDA-demo-video_0709_CN-2.mp4'})
}
//打开视频
const a = document.createElement('a');