@mythpe/quasar-ui-qui 0.1.99 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -143,10 +143,10 @@ const onBeforeHide = () => {
|
|
|
143
143
|
dateRef.value = null
|
|
144
144
|
}
|
|
145
145
|
const saveDialog = () => {
|
|
146
|
-
const newVal: ModelType = toValue(dateRef.value || null)
|
|
147
|
-
if (!newVal) {
|
|
148
|
-
|
|
149
|
-
}
|
|
146
|
+
// const newVal: ModelType = toValue(dateRef.value || null)
|
|
147
|
+
// if (!newVal) {
|
|
148
|
+
// return
|
|
149
|
+
// }
|
|
150
150
|
// if (isDate.value) {
|
|
151
151
|
// const values: string[] = Object.values(newVal)
|
|
152
152
|
// console.log(values)
|
|
@@ -157,7 +157,7 @@ const saveDialog = () => {
|
|
|
157
157
|
// }
|
|
158
158
|
// newVal = values
|
|
159
159
|
// }
|
|
160
|
-
handleChange(
|
|
160
|
+
handleChange(dateRef.value, !!errorMessage.value)
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
const dateElm = useTemplateRef<InstanceType<typeof QDate>>('dateElm')
|