[no ci]
This commit is contained in:
@ -11,11 +11,11 @@ export const usePageData = defineBasicLoader(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
lazy: false,
|
lazy: false,
|
||||||
|
commit: 'immediate',
|
||||||
// - `immediate`: the data is committed as soon as it is loaded.
|
// - `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.
|
// - `after-load`: the data is committed after all non-lazy loaders have finished loading.
|
||||||
// - `immediate`:数据在加载后立即提交。
|
// - `immediate`:数据在加载后立即提交。
|
||||||
// - `after-load`:数据在所有非惰性加载器加载完成后提交。
|
// - `after-load`:数据在所有非惰性加载器加载完成后提交。
|
||||||
commit: 'immediate',
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user