From e4cff7e758761bdb4f445414b7a31afe9be1fb10 Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Tue, 16 Apr 2024 14:02:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20rule=E6=8F=90=E7=A4=BA=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 2 ++ patches/naive-ui+2.38.1.patch | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components.d.ts b/components.d.ts index bf396cc..8bdf533 100644 --- a/components.d.ts +++ b/components.d.ts @@ -21,6 +21,7 @@ declare module 'vue' { NDialogProvider: typeof import('naive-ui')['NDialogProvider'] NDivider: typeof import('naive-ui')['NDivider'] NDropdown: typeof import('naive-ui')['NDropdown'] + NEllipsis: typeof import('naive-ui')['NEllipsis'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] NGi: typeof import('naive-ui')['NGi'] @@ -34,6 +35,7 @@ declare module 'vue' { NotPassed: typeof import('./src/components/NotPassed.vue')['default'] NPopover: typeof import('naive-ui')['NPopover'] NPopselect: typeof import('naive-ui')['NPopselect'] + NProgress: typeof import('naive-ui')['NProgress'] NScrollbar: typeof import('naive-ui')['NScrollbar'] NSelect: typeof import('naive-ui')['NSelect'] NSlider: typeof import('naive-ui')['NSlider'] diff --git a/patches/naive-ui+2.38.1.patch b/patches/naive-ui+2.38.1.patch index 83ce776..dc5de2a 100644 --- a/patches/naive-ui+2.38.1.patch +++ b/patches/naive-ui+2.38.1.patch @@ -22,7 +22,7 @@ index 3aacec9..a63ab54 100644 + class: `${mergedClsPrefix}-form-item-feedback ${mergedClsPrefix}-form-item-feedback--error flex` + }, [h('img', { + style: { width: '1rem', height: '1rem' }, -+ src: 'http://47.93.59.251/api/upload/ocr/1711419313955_c.png' ++ src: 'http://47.93.59.251/api/upload/ocr/1713246379185_c.png' + }), feedbackNodes]) : mergedValidationStatus === 'success' ? h("div", { key: "controlled-success", class: `${mergedClsPrefix}-form-item-feedback ${mergedClsPrefix}-form-item-feedback--success`