jobsys-explore 4.0.23 → 4.1.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/.changeset/tough-glasses-check.md +5 -0
- package/CHANGELOG.md +30 -0
- package/components/form/ExForm.jsx +10 -3
- package/dist/jobsys-explore.cjs +6 -6
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +516 -514
- package/dist/jobsys-explore.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# jobsys-explore
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fixed form expose
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- address
|
|
12
|
+
- form loading status
|
|
13
|
+
- fixed date modelValue
|
|
14
|
+
- date default value
|
|
15
|
+
- y
|
|
16
|
+
- add exPros parameter
|
|
17
|
+
- select add textInValue
|
|
18
|
+
- option fetch data only once
|
|
19
|
+
- add form reset
|
|
20
|
+
- fixed
|
|
21
|
+
- add sm2 encrypt
|
|
22
|
+
- form expose fetchItem method
|
|
23
|
+
- fixed address modelValue
|
|
24
|
+
- fixed textInValue
|
|
25
|
+
- fixed textInValue
|
|
26
|
+
- help add function
|
|
27
|
+
- add key_cn
|
|
28
|
+
- search watch model value
|
|
29
|
+
- address
|
|
30
|
+
- cascader
|
|
31
|
+
- e
|
|
32
|
+
|
|
3
33
|
## 4.0.23
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -330,10 +330,17 @@ export default defineComponent({
|
|
|
330
330
|
const getFormStandalone = () => cloneDeep(state.submitForm)
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* 获取表单实时数据,慎用,会改变内部的值
|
|
334
334
|
* @return {*}
|
|
335
335
|
*/
|
|
336
|
-
const
|
|
336
|
+
const getFormRealtime = () => state.submitForm
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* 获取表单的字段值
|
|
340
|
+
* @param {String} key
|
|
341
|
+
* @return {*}
|
|
342
|
+
*/
|
|
343
|
+
const getField = (key) => cloneDeep(state.submitForm[key])
|
|
337
344
|
|
|
338
345
|
/**
|
|
339
346
|
*
|
|
@@ -365,7 +372,7 @@ export default defineComponent({
|
|
|
365
372
|
})
|
|
366
373
|
}
|
|
367
374
|
|
|
368
|
-
expose({ getForm, getFormStandalone, setForm, isDirty, fetchItem, reset })
|
|
375
|
+
expose({ getForm: getFormStandalone, getFormStandalone, getFormRealtime, getField, setForm, isDirty, fetchItem, reset })
|
|
369
376
|
|
|
370
377
|
/********** render **********/
|
|
371
378
|
|