任务三
This commit is contained in:
@@ -168,7 +168,6 @@ export default defineConfig({
|
||||
mock: {
|
||||
include: ["mock/**/*", "src/pages/**/_mock.ts"],
|
||||
},
|
||||
utoopack: {},
|
||||
requestRecord: {},
|
||||
exportStatic: {},
|
||||
define: {
|
||||
|
||||
+3
-2
@@ -15,9 +15,10 @@ export default {
|
||||
* @doc https://github.com/chimurai/http-proxy-middleware
|
||||
*/
|
||||
dev: {
|
||||
"/v1/": {
|
||||
"/api/": {
|
||||
target: "http://localhost:8000",
|
||||
changeOrigin: true,
|
||||
},
|
||||
pathRewrite: { "^/api": "" },
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
@@ -62,6 +62,18 @@ export default [
|
||||
icon: 'fileSearch',
|
||||
component: './system/operation',
|
||||
},
|
||||
{
|
||||
path: '/system/params',
|
||||
name: 'params',
|
||||
icon: 'control',
|
||||
component: './system/params',
|
||||
},
|
||||
{
|
||||
path: '/system/state',
|
||||
name: 'state',
|
||||
icon: 'monitor',
|
||||
component: './system/state',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user