jobsys-explore 4.0.9 → 4.0.10

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.
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ search watch model value
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # jobsys-explore
2
2
 
3
+ ## 4.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - address
8
+ - add exPros parameter
9
+ - option fetch data only once
10
+ - form expose fetchItem method
11
+ - fixed address modelValue
12
+ - fixed textInValue
13
+ - fixed textInValue
14
+ - add key_cn
15
+ - search watch model value
16
+ - e
17
+
3
18
  ## 4.0.9
4
19
 
5
20
  ### Patch Changes
@@ -13,7 +13,7 @@ export default defineComponent({
13
13
  props: {
14
14
  ...defaultFieldProps,
15
15
 
16
- modelValue: { type: Date, default: () => null },
16
+ modelValue: { type: [Date, String], default: () => null },
17
17
 
18
18
  /**
19
19
  * 标题
@@ -1,4 +1,4 @@
1
- import { defineComponent, nextTick, reactive, ref } from "vue"
1
+ import { defineComponent, nextTick, reactive, ref, watch } from "vue"
2
2
  import { Button, Icon, Popup, Search } from "vant"
3
3
  import { find, isArray, isFunction } from "lodash-es"
4
4
  import { createExpand, createField, createQuick } from "./components"
@@ -74,6 +74,13 @@ export default defineComponent({
74
74
  setup(props, { emit }) {
75
75
  const componentValue = ref(props.modelValue)
76
76
 
77
+ watch(
78
+ () => props.modelValue,
79
+ () => {
80
+ componentValue.value = props.modelValue
81
+ },
82
+ )
83
+
77
84
  const state = reactive({
78
85
  queryForm: {}, // 搜索表单
79
86
  quickColumns: [], //快速检索项