We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cdd993 commit 63a62dcCopy full SHA for 63a62dc
packages/browser-vm/src/pluginify.ts
@@ -134,7 +134,7 @@ function createOptions(Garfish: interfaces.Garfish) {
134
disableElementtiming: Boolean(appInfo.sandbox?.disableElementtiming),
135
strictIsolation: Boolean(appInfo.sandbox?.strictIsolation),
136
// 缓存模式,不收集副作用
137
- disableCollect: Boolean(appInfo.cache || true),
+ disableCollect: appInfo.cache === undefined ? true : Boolean(appInfo.cache),
138
el: () => appInstance.htmlNode,
139
styleScopeId: () => appInstance.appContainer.id,
140
protectVariable: () => appInfo.protectVariable || [],
0 commit comments