default url prefix

This commit is contained in:
cxc
2023-02-13 17:29:41 +08:00
parent 730a93c4d3
commit f4f1101009
3 changed files with 5 additions and 3 deletions

View File

@ -116,7 +116,7 @@ getList();
margin-top: 20px;
margin-right: 10px;
display: flex;
justify-content: end;
justify-content: flex-end;
}
}
</style>

View File

@ -263,7 +263,9 @@ const goLogList = (suffix: string) => {
});
};
const reset = () => {
form.value = {};
form.value = {
urlPrefix: "https://chuhuankj.com",
};
if (formRef.value) {
formRef.value.resetFields();
}

View File

@ -9,7 +9,7 @@ export default defineConfig({
server: {
proxy: {
"/dev-api": {
target: "http://192.168.110.10:1618",
target: "http://118.195.192.58:1618",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, "")
}