Archived
[no ci]
This commit is contained in:
1 parent
3676127dc9
commit
32902909c2
1 file changed
+1
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user