From ee5b25fbc36a24cab02576757226f26fb9e27777 Mon Sep 17 00:00:00 2001 From: Moonofweisheng <1780903673@qq.com> Date: Tue, 4 Mar 2025 13:44:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9C=A8template=E4=B8=AD=E4=BD=BF=E7=94=A8readonly=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=80=9A=E8=BF=87vue-ts=E6=A0=A1=E9=AA=8C=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/release.ts | 4 ++-- src/pages/configProvider/Index.vue | 2 +- .../wot-design-uni/components/wd-calendar/wd-calendar.vue | 2 +- .../wot-design-uni/components/wd-col-picker/wd-col-picker.vue | 2 +- .../wot-design-uni/components/wd-input/wd-input.vue | 2 +- .../components/wd-select-picker/wd-select-picker.vue | 2 +- .../wot-design-uni/components/wd-textarea/wd-textarea.vue | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/release.ts b/scripts/release.ts index b933e35f..2ea4da9e 100644 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -46,7 +46,7 @@ inquirer default: 'Y' } ]) - .then((answers) => { + .then((answers: any) => { if (!answers['release'] || answers['release'].toLowerCase() != 'y') { console.log('🚨 操作取消') return @@ -92,7 +92,7 @@ inquirer const tip = 'Run `git push --follow-tags origin ' + branch + '` ' + 'to publish' console.log(tip.replace(/\n/g, '')) }) - .catch((error) => { + .catch((error: any) => { if (error.isTtyError) { // Prompt couldn't be rendered in the current environment } else { diff --git a/src/pages/configProvider/Index.vue b/src/pages/configProvider/Index.vue index 9fbe4832..376ab122 100644 --- a/src/pages/configProvider/Index.vue +++ b/src/pages/configProvider/Index.vue @@ -163,7 +163,7 @@ const promotionlist = ref([ ]) const threshold = ref('') const price = ref('') -const date = ref(new Date()) +const date = ref(new Date().getTime()) const address = ref([]) const count = ref(1) diff --git a/src/uni_modules/wot-design-uni/components/wd-calendar/wd-calendar.vue b/src/uni_modules/wot-design-uni/components/wd-calendar/wd-calendar.vue index 865ebe5b..25cc0b01 100644 --- a/src/uni_modules/wot-design-uni/components/wd-calendar/wd-calendar.vue +++ b/src/uni_modules/wot-design-uni/components/wd-calendar/wd-calendar.vue @@ -4,7 +4,7 @@ diff --git a/src/uni_modules/wot-design-uni/components/wd-col-picker/wd-col-picker.vue b/src/uni_modules/wot-design-uni/components/wd-col-picker/wd-col-picker.vue index 8da41e42..44f95ff6 100644 --- a/src/uni_modules/wot-design-uni/components/wd-col-picker/wd-col-picker.vue +++ b/src/uni_modules/wot-design-uni/components/wd-col-picker/wd-col-picker.vue @@ -4,7 +4,7 @@ diff --git a/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue b/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue index 1de386ab..d22dad3d 100644 --- a/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue +++ b/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue @@ -50,7 +50,7 @@ @confirm="handleConfirm" @keyboardheightchange="handleKeyboardheightchange" /> - + diff --git a/src/uni_modules/wot-design-uni/components/wd-select-picker/wd-select-picker.vue b/src/uni_modules/wot-design-uni/components/wd-select-picker/wd-select-picker.vue index 7526407f..98335347 100644 --- a/src/uni_modules/wot-design-uni/components/wd-select-picker/wd-select-picker.vue +++ b/src/uni_modules/wot-design-uni/components/wd-select-picker/wd-select-picker.vue @@ -4,7 +4,7 @@ diff --git a/src/uni_modules/wot-design-uni/components/wd-textarea/wd-textarea.vue b/src/uni_modules/wot-design-uni/components/wd-textarea/wd-textarea.vue index 19d4f97b..cf28c227 100644 --- a/src/uni_modules/wot-design-uni/components/wd-textarea/wd-textarea.vue +++ b/src/uni_modules/wot-design-uni/components/wd-textarea/wd-textarea.vue @@ -47,7 +47,7 @@ /> {{ errorMessage }} - +