From e3051e24d0c52ac4e29fbbc7062f97f9ebc5fa0d Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 18 九月 2025 14:19:33 +0800
Subject: [PATCH] fix: bug
---
packages/components/src/Input/ChooseInputWithDatePicker.vue | 3 ++-
apps/bMiniApp/src/subpackages/task/publishTask/InnerPage.vue | 1 +
apps/bMiniApp/project.config.json | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/apps/bMiniApp/project.config.json b/apps/bMiniApp/project.config.json
index e4afad4..7bc8fee 100644
--- a/apps/bMiniApp/project.config.json
+++ b/apps/bMiniApp/project.config.json
@@ -3,8 +3,8 @@
"description": "",
"setting": {
"urlCheck": false,
- "es6": false,
- "enhance": false,
+ "es6": true,
+ "enhance": true,
"postcss": false,
"preloadBackgroundData": false,
"minified": false,
diff --git a/apps/bMiniApp/src/subpackages/task/publishTask/InnerPage.vue b/apps/bMiniApp/src/subpackages/task/publishTask/InnerPage.vue
index 67d493b..628b20a 100644
--- a/apps/bMiniApp/src/subpackages/task/publishTask/InnerPage.vue
+++ b/apps/bMiniApp/src/subpackages/task/publishTask/InnerPage.vue
@@ -25,6 +25,7 @@
class="nut-input-text bole-input-text"
placeholder="璇疯緭鍏ユ湇鍔¤垂"
:min="0"
+ :max="999999999999"
/>
<div class="form-input-unit">{{ BillingMethodEnumUnit[form.billingMethod] }}</div>
</div>
diff --git a/packages/components/src/Input/ChooseInputWithDatePicker.vue b/packages/components/src/Input/ChooseInputWithDatePicker.vue
index a2d8450..c8dbe1d 100644
--- a/packages/components/src/Input/ChooseInputWithDatePicker.vue
+++ b/packages/components/src/Input/ChooseInputWithDatePicker.vue
@@ -30,7 +30,7 @@
}>();
function handleOpen() {
- const _modelValue = [props.modelValue];
+ const _modelValue = dayjs(props.modelValue).toDate();
Portal.add((key) => {
return h(
Portal.Container,
@@ -52,6 +52,7 @@
type: props.type,
maxDate: props.maxDate,
onConfirm: ({ selectedValue }) => {
+ console.log('selectedValue: ', selectedValue);
emit('update:modelValue', dayjs(selectedValue.join('-')).format(props.format));
onClose();
},
--
Gitblit v1.9.1