Browse Source

针对测试环境,改下url配置等等

任一存 3 years ago
parent
commit
324ffa3b04
3 changed files with 3 additions and 2 deletions
  1. 1 1
      web/src/main.js
  2. 1 1
      web/src/views/accessibility.vue
  3. 1 0
      web/vue.config.js

+ 1 - 1
web/src/main.js

@@ -11,7 +11,7 @@ Vue.use(ElementUI);
 // })
 
 // 不能通过location去判断
-Vue.prototype.$homePageUrl = 'https://zzbbh.4dage.com/shouBo/main'
+Vue.prototype.$homePageUrl = 'https://zzbbh.4dage.com/shouBo/main.html'
 
 Vue.prototype.$eventBus = new Vue({})
 

+ 1 - 1
web/src/views/accessibility.vue

@@ -938,7 +938,7 @@ export default {
       this.ariaSettings.isMagnifying = !this.ariaSettings.isMagnifying
     },
     onClickHelp() {
-      window.open('../help')
+      window.open('./help.html')
     },
     onClickElderlyServicesAreaEntry() {
       this.ariaSettings.menuMode = 'old'

+ 1 - 0
web/vue.config.js

@@ -5,6 +5,7 @@ module.exports = {
     main: 'src/main.js',
     help: 'src/help.js',
   },
+  publicPath: '/shouBo/',
   configureWebpack: {
     module: {
       rules: [