@yoooloo42/joker 1.0.222 → 1.0.224

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/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ElMessageBox, ElMessage } from 'element-plus';
2
- import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
2
+ import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, watch, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
3
3
 
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function (e) {
@@ -23445,6 +23445,25 @@ const formProps_box = props.myProps;
23445
23445
  const scopeThis_box = props.scopeThis;
23446
23446
  const propsItem_box = props.item;
23447
23447
 
23448
+ watch(
23449
+ ()=>formData_box[propsItem_box.fieldName],
23450
+ (newVal, oldVal) => {
23451
+ console.log('测试 000', newVal);
23452
+ },
23453
+ {
23454
+ deep: true, // 深层监听
23455
+ }
23456
+ );
23457
+ watch(
23458
+ ()=>props.myProps[propsItem_box.fieldName],
23459
+ (newVal, oldVal) => {
23460
+ console.log('测试 111', newVal);
23461
+ },
23462
+ {
23463
+ deep: true, // 深层监听
23464
+ }
23465
+ );
23466
+
23448
23467
  const input = reactive({
23449
23468
  placeholder: propsItem_box.placeholder || formProps_box.para.placeholder.input,
23450
23469
  showPassword: !!propsItem_box.showPassword,