style: add missing trailing commas (#9387)
This commit is contained in:
parent
9314ceae36
commit
f1fd1d2585
79 changed files with 320 additions and 320 deletions
|
|
@ -33,8 +33,8 @@ const props = withDefaults(defineProps<{
|
|||
}>(), {
|
||||
value: {
|
||||
title: null,
|
||||
children: []
|
||||
}
|
||||
children: [],
|
||||
},
|
||||
});
|
||||
|
||||
const getPageBlockList = inject<(any) => any>('getPageBlockList');
|
||||
|
|
@ -42,7 +42,7 @@ const getPageBlockList = inject<(any) => any>('getPageBlockList');
|
|||
async function rename() {
|
||||
const { canceled, result: title } = await os.inputText({
|
||||
title: 'Enter title',
|
||||
default: props.value.title
|
||||
default: props.value.title,
|
||||
});
|
||||
if (canceled) return;
|
||||
props.value.title = title;
|
||||
|
|
@ -51,7 +51,7 @@ async function rename() {
|
|||
async function add() {
|
||||
const { canceled, result: type } = await os.select({
|
||||
title: i18n.ts._pages.chooseBlock,
|
||||
groupedItems: getPageBlockList()
|
||||
groupedItems: getPageBlockList(),
|
||||
});
|
||||
if (canceled) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue