Commit d1dd668a authored by nick zheng's avatar nick zheng

chore: 更正单词拼写

parent cdc86c04
...@@ -29,7 +29,7 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -29,7 +29,7 @@ const props = withDefaults(defineProps<Props>(), {
btnLoading: false, btnLoading: false,
btnDisabled: false, btnDisabled: false,
cancelBtnText: '取 消', cancelBtnText: '取 消',
confirmBtnText: '确认', confirmBtnText: '确 认',
labelWidth: 80, labelWidth: 80,
labelPlacement: 'left', labelPlacement: 'left',
}) })
...@@ -58,7 +58,7 @@ function handleCloseModal() { ...@@ -58,7 +58,7 @@ function handleCloseModal() {
emit('close') emit('close')
} }
function handleDetele() { function handleConfirm() {
emit('confirm') emit('confirm')
} }
</script> </script>
...@@ -96,7 +96,7 @@ function handleDetele() { ...@@ -96,7 +96,7 @@ function handleDetele() {
type="primary" type="primary"
:disabled="btnDisabled" :disabled="btnDisabled"
class="h-[32px]! px-6! rounded-md! ml-4!" class="h-[32px]! px-6! rounded-md! ml-4!"
@click="handleDetele" @click="handleConfirm"
> >
{{ confirmBtnText }} {{ confirmBtnText }}
</NButton> </NButton>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment