default url prefix
This commit is contained in:
@ -116,7 +116,7 @@ getList();
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -263,7 +263,9 @@ const goLogList = (suffix: string) => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const reset = () => {
|
const reset = () => {
|
||||||
form.value = {};
|
form.value = {
|
||||||
|
urlPrefix: "https://chuhuankj.com",
|
||||||
|
};
|
||||||
if (formRef.value) {
|
if (formRef.value) {
|
||||||
formRef.value.resetFields();
|
formRef.value.resetFields();
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
"/dev-api": {
|
"/dev-api": {
|
||||||
target: "http://192.168.110.10:1618",
|
target: "http://118.195.192.58:1618",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (p) => p.replace(/^\/dev-api/, "")
|
rewrite: (p) => p.replace(/^\/dev-api/, "")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user