jobsys-explore 4.0.21 → 4.0.22
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/.changeset/flat-kiwis-switch.md +5 -0
- package/CHANGELOG.md +25 -0
- package/components/form/ExDate.jsx +11 -12
- package/components/form/utils.js +2 -1
- package/dist/jobsys-explore.cjs +6 -6
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +74 -74
- package/dist/jobsys-explore.js.map +1 -1
- package/package.json +1 -1
- package/playground/TestForm.vue +5 -0
package/package.json
CHANGED
package/playground/TestForm.vue
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
import ExForm from "../components/form/ExForm.jsx"
|
|
27
27
|
import { Checkbox, Icon, showFailToast, Button } from "vant"
|
|
28
28
|
import { h, ref } from "vue"
|
|
29
|
+
import { useDayjs } from "../hooks/datetime.js"
|
|
29
30
|
|
|
30
31
|
const checked = ref(false)
|
|
31
32
|
|
|
@@ -287,6 +288,10 @@ const getForm = () => [
|
|
|
287
288
|
key: "date",
|
|
288
289
|
title: "日期 Date",
|
|
289
290
|
type: "date",
|
|
291
|
+
init() {
|
|
292
|
+
console.log(useDayjs(new Date()))
|
|
293
|
+
return useDayjs(new Date())
|
|
294
|
+
},
|
|
290
295
|
},
|
|
291
296
|
{
|
|
292
297
|
key: "datetime",
|