登录页面

This commit is contained in:
2026-07-12 15:17:54 +08:00
parent becf91da52
commit bfac6c6663
63 changed files with 4662 additions and 431 deletions
-11
View File
@@ -1,11 +0,0 @@
import type { UserConfigExport } from '@tarojs/cli';
/**
* dev:weapp 下 Vite 会用 prod 模式替换 react 引用,可能导致 useState 等 hooks 失效。
* @see https://docs.taro.zone/docs/config-detail#minidebugreact
*/
export default {
mini: {
debugReact: true,
},
} satisfies UserConfigExport;
+2
View File
@@ -39,6 +39,8 @@ export default defineConfig(async () => ({
enable: false,
},
mini: {
/** dev:weapp 预览模式需开启,否则 React hooks 在 Vite 下会失效 */
debugReact: process.env.NODE_ENV !== 'production',
postcss: {
pxtransform: { enable: true, config: {} },
cssModules: { enable: false },