@piying/view-vue2-legacy 2.6.0 → 2.6.2
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/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/util/use-control-value-accessor.d.ts +1 -1
package/index.js
CHANGED
|
@@ -6916,7 +6916,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6916
6916
|
);
|
|
6917
6917
|
const field = computed(() => props2.field);
|
|
6918
6918
|
provide(PI_VIEW_FIELD_TOKEN, field);
|
|
6919
|
-
const childRef =
|
|
6919
|
+
const childRef = shallowRef(null);
|
|
6920
6920
|
const isControl = isFieldControl(field.value.form.control);
|
|
6921
6921
|
let dispose;
|
|
6922
6922
|
watch(
|
|
@@ -6947,7 +6947,7 @@ var __component__$2 = /* @__PURE__ */ normalizeComponent(
|
|
|
6947
6947
|
_sfc_staticRenderFns$2,
|
|
6948
6948
|
false,
|
|
6949
6949
|
null,
|
|
6950
|
-
"
|
|
6950
|
+
"11ac4a03"
|
|
6951
6951
|
);
|
|
6952
6952
|
const FieldTemplate = __component__$2.exports;
|
|
6953
6953
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -7041,7 +7041,7 @@ var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
|
7041
7041
|
);
|
|
7042
7042
|
const piyingView = __component__$1.exports;
|
|
7043
7043
|
function useControlValueAccessor(autoChange = true) {
|
|
7044
|
-
const value =
|
|
7044
|
+
const value = shallowRef();
|
|
7045
7045
|
const disabled = ref$1(false);
|
|
7046
7046
|
let onChange;
|
|
7047
7047
|
let touched;
|