改用axios请求进行封装
This commit is contained in:
+2
-1
@@ -25,6 +25,7 @@ export default defineConfig({
|
||||
host: '0.0.0.0',
|
||||
port: 5173,
|
||||
open: true,
|
||||
// allowedHosts: ['nas.7bm.co', 'localhost', '127.0.0.1'], // 允许的主机名列表
|
||||
allowedHosts: ['nas.7bm.co', 'localhost', '127.0.0.1'], // 允许的主机名列表
|
||||
cors: true,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user