-
}
- loading={testing}
- onClick={handleTest}
+
- 测试连接
-
+ }>
+ 删除数据
+
+
+ }
+ loading={testing}
+ onClick={handleTest}
+ >
+ 测试连接
+
+
+
+
+
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 42276f61..faf51997 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
+import path from 'path'
export default defineConfig({
plugins: [react()],
@@ -18,5 +19,14 @@ export default defineConfig({
secure: false,
},
},
+ fs: {
+ allow: ['..'],
+ },
+ },
+ publicDir: 'public',
+ resolve: {
+ alias: {
+ '@': path.resolve(__dirname, './src'),
+ },
},
})