Commit 07b04030 authored by 沈翠玲's avatar 沈翠玲

优化代码

parent 8144298d
......@@ -138,7 +138,8 @@
}
listTags().then(res=>{
if (res.success) {
tagOpt.value = res.result
if (!res.result) res.result = []
tagOpt.value = res.result.filter(v => v)
}
})
};
......
......@@ -138,7 +138,8 @@
}
listTags().then(res=>{
if (res.success) {
tagOpt.value = res.result
if (!res.result) res.result = []
tagOpt.value = res.result.filter(v => v)
}
})
};
......
......@@ -59,7 +59,7 @@ export default defineConfig(({ command, mode }) => {
// target: 'http://192.168.31.128:8080',
target: 'http://8.152.205.9:8080',
ws:true,
changeOrigin: true,
changeOrigin: false,
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment