先提交一波
This commit is contained in:
@@ -92,7 +92,6 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.search = localStorage.getItem("searchApp") || ""
|
this.search = localStorage.getItem("searchApp") || ""
|
||||||
this.token = localStorage.getItem("ui-token")
|
|
||||||
if (this.token) this.getUserInfo()
|
if (this.token) this.getUserInfo()
|
||||||
wx = jWeixin
|
wx = jWeixin
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -21,7 +21,8 @@
|
|||||||
"vite-plugin-vue2": "^2.0.0",
|
"vite-plugin-vue2": "^2.0.0",
|
||||||
"vue": "^2.6.14",
|
"vue": "^2.6.14",
|
||||||
"vue-router": "^3.3.4",
|
"vue-router": "^3.3.4",
|
||||||
"vue-template-compiler": "^2.6.14"
|
"vue-template-compiler": "^2.6.14",
|
||||||
|
"vuex-persistedstate": "^3.2.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dvcp-dv-ui": "^2.0.1",
|
"dvcp-dv-ui": "^2.0.1",
|
||||||
|
|||||||
@@ -6,10 +6,13 @@ export default defineConfig({
|
|||||||
extensions: ['.vue', '.mjs', '.js', '.ts', '.jsx', '.tsx', '.json'],
|
extensions: ['.vue', '.mjs', '.js', '.ts', '.jsx', '.tsx', '.json'],
|
||||||
},
|
},
|
||||||
plugins: [createVuePlugin({jsx: true})],
|
plugins: [createVuePlugin({jsx: true})],
|
||||||
|
optimizeDeps: {
|
||||||
|
esbuildOptions: {keepNames: true}
|
||||||
|
},
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 8666,
|
port: 8666,
|
||||||
open: 'index.html',
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
//设置代理,可解决跨5
|
//设置代理,可解决跨5
|
||||||
'/lan': {
|
'/lan': {
|
||||||
@@ -32,6 +35,9 @@ export default defineConfig({
|
|||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: path => path.replace(/^\/xsjr/, '')
|
rewrite: path => path.replace(/^\/xsjr/, '')
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
usePolling: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user