This commit is contained in:
严浩
2024-12-03 10:16:41 +08:00
parent 3676127dc9
commit 32902909c2

View File

@ -11,11 +11,11 @@ export const usePageData = defineBasicLoader(
},
{
lazy: false,
commit: 'immediate',
// - `immediate`: the data is committed as soon as it is loaded.
// - `after-load`: the data is committed after all non-lazy loaders have finished loading.
// - `immediate`:数据在加载后立即提交。
// - `after-load`:数据在所有非惰性加载器加载完成后提交。
commit: 'immediate',
},
);
</script>