diff --git a/components.d.ts b/components.d.ts index e6c7b06..587b1d3 100644 --- a/components.d.ts +++ b/components.d.ts @@ -19,6 +19,7 @@ declare module 'vue' { AForm: typeof import('ant-design-vue/es')['Form'] AFormItem: typeof import('ant-design-vue/es')['FormItem'] AImage: typeof import('ant-design-vue/es')['Image'] + AImagePreviewGroup: typeof import('ant-design-vue/es')['ImagePreviewGroup'] AInput: typeof import('ant-design-vue/es')['Input'] AInputPassword: typeof import('ant-design-vue/es')['InputPassword'] AMenu: typeof import('ant-design-vue/es')['Menu'] @@ -35,17 +36,17 @@ declare module 'vue' { ATextarea: typeof import('ant-design-vue/es')['Textarea'] ATooltip: typeof import('ant-design-vue/es')['Tooltip'] AUpload: typeof import('ant-design-vue/es')['Upload'] - BoxDog: typeof import('./src/Components/BoxDog/BoxDog.vue')['default'] - Card3D: typeof import('./src/Components/Card3D/Card3D.vue')['default'] + BoxDog: typeof import('./src/components/BoxDog/BoxDog.vue')['default'] + Card3D: typeof import('./src/components/Card3D/Card3D.vue')['default'] CloseCircleOutlined: typeof import('@ant-design/icons-vue')['CloseCircleOutlined'] - Clouds: typeof import('./src/Components/Clouds/Clouds.vue')['default'] - CommentInput: typeof import('./src/Components/CommentReply/Components/CommentInput/CommentInput.vue')['default'] - CommentList: typeof import('./src/Components/CommentReply/Components/CommentList/CommentList.vue')['default'] - CommentReply: typeof import('./src/Components/CommentReply/index.vue')['default'] + Clouds: typeof import('./src/components/Clouds/Clouds.vue')['default'] + CommentInput: typeof import('./src/components/CommentReply/Components/CommentInput/CommentInput.vue')['default'] + CommentList: typeof import('./src/components/CommentReply/Components/CommentList/CommentList.vue')['default'] + CommentReply: typeof import('./src/components/CommentReply/index.vue')['default'] CopyOutlined: typeof import('@ant-design/icons-vue')['CopyOutlined'] DeleteOutlined: typeof import('@ant-design/icons-vue')['DeleteOutlined'] - DynamicTitle: typeof import('./src/Components/DynamicTitle/DynamicTitle.vue')['default'] - EffectsCard: typeof import('./src/Components/EffectsCard/EffectsCard.vue')['default'] + DynamicTitle: typeof import('./src/components/DynamicTitle/DynamicTitle.vue')['default'] + EffectsCard: typeof import('./src/components/EffectsCard/EffectsCard.vue')['default'] EyeOutlined: typeof import('@ant-design/icons-vue')['EyeOutlined'] ForgetPage: typeof import('./src/views/Forget/ForgetPage.vue')['default'] GithubOutlined: typeof import('@ant-design/icons-vue')['GithubOutlined'] @@ -58,9 +59,9 @@ declare module 'vue' { QqOutlined: typeof import('@ant-design/icons-vue')['QqOutlined'] QRLogin: typeof import('./src/views/QRLogin/QRLogin.vue')['default'] QRLoginFooter: typeof import('./src/views/QRLogin/QRLoginFooter.vue')['default'] - ReplyInput: typeof import('./src/Components/CommentReply/Components/ReplyInput/ReplyInput.vue')['default'] - ReplyList: typeof import('./src/Components/CommentReply/Components/ReplyList/ReplyList.vue')['default'] - ReplyReply: typeof import('./src/Components/CommentReply/Components/ReplyReplyInput/ReplyReply.vue')['default'] + ReplyInput: typeof import('./src/components/CommentReply/Components/ReplyInput/ReplyInput.vue')['default'] + ReplyList: typeof import('./src/components/CommentReply/Components/ReplyList/ReplyList.vue')['default'] + ReplyReply: typeof import('./src/components/CommentReply/Components/ReplyReplyInput/ReplyReply.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] SafetyOutlined: typeof import('@ant-design/icons-vue')['SafetyOutlined'] diff --git a/src/components/CommentReply/Components/CommentInput/CommentInput.vue b/src/components/CommentReply/Components/CommentInput/CommentInput.vue index 3668eee..6af9f57 100644 --- a/src/components/CommentReply/Components/CommentInput/CommentInput.vue +++ b/src/components/CommentReply/Components/CommentInput/CommentInput.vue @@ -35,28 +35,30 @@ method="post" :directory="false" :show-upload-list="false" - :custom-request="customUploadRequest" - :before-upload="beforeUpload" - :disabled="imageList.length >= 3" + :custom-request="comment.customUploadRequest" + :before-upload="comment.beforeUpload" + :disabled="comment.imageList.length >= 3" > - + {{ t('comment.picture') }} -