jobsys-explore 4.0.21 → 4.0.23

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.23",
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
 
@@ -138,7 +139,9 @@ const getForm = () => [
138
139
  hidden(submitForm) {
139
140
  return submitForm.text === "3"
140
141
  },
141
- help: "请填写您的地址请填写您的地址请填写您的地址请填写您的地址请填写您的地址",
142
+ help() {
143
+ return h("div", { innerHTML: "请填写您的<br />地址请填写您的地址请填写您的地址请填写您的地址请填写您的地址" })
144
+ },
142
145
  beforeSubmit({ submitForm }) {
143
146
  return submitForm.address
144
147
  },
@@ -287,6 +290,10 @@ const getForm = () => [
287
290
  key: "date",
288
291
  title: "日期 Date",
289
292
  type: "date",
293
+ init() {
294
+ console.log(useDayjs(new Date()))
295
+ return useDayjs(new Date())
296
+ },
290
297
  },
291
298
  {
292
299
  key: "datetime",