fix: 修复 Admin 浏览器运行缺少 process

This commit is contained in:
que01 committed 2026-10-12 01:05:18 +08:00
1 parent e09b56e0f3
commit aa42e7b866
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@ export default defineConfig({
},
},
define: {
"process.env": "{}",
"process.env.TARO_PLATFORM": JSON.stringify("web"),
"process.env.TARO_ENV": JSON.stringify("h5"),
PREVIEW_ALL_TEMPLATES: JSON.stringify(true),