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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jobsys-explore",
3
- "version": "4.0.21",
3
+ "version": "4.0.22",
4
4
  "description": "Enhanced component based on vant",
5
5
  "type": "module",
6
6
  "main": "./dist/jobsys-explore.cjs",
@@ -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",