chore: Update trailing comma in .prettierrc.json to "all"
All checks were successful
CI / cache-and-install (push) Successful in 1m3s

This commit is contained in:
严浩
2024-08-14 11:41:49 +08:00
parent 192448fbc1
commit 4fe1f5fd32
2 changed files with 3 additions and 3 deletions

View File

@ -4,5 +4,5 @@
"tabWidth": 2, "tabWidth": 2,
"singleQuote": true, "singleQuote": true,
"printWidth": 120, "printWidth": 120,
"trailingComma": "es5" "trailingComma": "all"
} }

View File

@ -18,7 +18,7 @@ export const usePageData = defineBasicLoader(
// - `immediate`:数据在加载后立即提交。 // - `immediate`:数据在加载后立即提交。
// - `after-load`:数据在所有非惰性加载器加载完成后提交。 // - `after-load`:数据在所有非惰性加载器加载完成后提交。
commit: 'immediate', commit: 'immediate',
} },
); );
</script> </script>
@ -46,7 +46,7 @@ watch(
console.debug(message); console.debug(message);
} }
}, },
{ immediate: true } { immediate: true },
); );
</script> </script>