diff --git a/README.md b/README.md index 459296c..bfd8250 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,10 @@ We recommend using [VS Code](https://code.visualstudio.com/) with [Volar](https: - [vitesse-nuxt-bridge](https://github.com/antfu/vitesse-nuxt-bridge) - Vitesse for Nuxt 2 with Bridge - [vitesse-webext](https://github.com/antfu/vitesse-webext) - WebExtension Vite starter template +## rich text + +- [wangEditor](https://www.wangeditor.com/v5/for-frame.html#%E5%AE%89%E8%A3%85-1) - Opinionated Astro Starter Template + ## Try it now! ### Online diff --git a/app/components.d.ts b/app/components.d.ts index c31e69f..b4c9ad0 100644 --- a/app/components.d.ts +++ b/app/components.d.ts @@ -12,11 +12,13 @@ declare module 'vue' { NBadge: typeof import('naive-ui')['NBadge'] NButton: typeof import('naive-ui')['NButton'] NCard: typeof import('naive-ui')['NCard'] + NCascader: typeof import('naive-ui')['NCascader'] NCheckbox: typeof import('naive-ui')['NCheckbox'] NCheckboxGroup: typeof import('naive-ui')['NCheckboxGroup'] NConfigProvider: typeof import('naive-ui')['NConfigProvider'] NDatePicker: typeof import('naive-ui')['NDatePicker'] NDropdown: typeof import('naive-ui')['NDropdown'] + NDynamicTags: typeof import('naive-ui')['NDynamicTags'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] NFormItemGi: typeof import('naive-ui')['NFormItemGi'] diff --git a/app/components/EditUserInfo.vue b/app/components/EditUserInfo.vue index 280ef23..a1d3110 100644 --- a/app/components/EditUserInfo.vue +++ b/app/components/EditUserInfo.vue @@ -49,7 +49,7 @@ async function handlePictureChange(event: Event) { event.target.value = '' ruleForm.value.avatar = pictureResultList[0] } - catch (error) { + catch (error: any) { message.error('图片上传失败') } } @@ -83,7 +83,9 @@ onMounted(() => { :mask-closable="false" >