@yoooloo42/joker 1.0.221 → 1.0.223

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,13 @@ const formProps_box = props.myProps;
23445
23445
  const scopeThis_box = props.scopeThis;
23446
23446
  const propsItem_box = props.item;
23447
23447
 
23448
+ watch(()=>formData_box[propsItem_box.fieldName], (newVal, oldVal) => {
23449
+ console.log('测试 000', newVal);
23450
+ });
23451
+ watch(()=>props.myProps[propsItem_box.fieldName], (newVal, oldVal) => {
23452
+ console.log('测试 111', newVal);
23453
+ });
23454
+
23448
23455
  const input = reactive({
23449
23456
  placeholder: propsItem_box.placeholder || formProps_box.para.placeholder.input,
23450
23457
  showPassword: !!propsItem_box.showPassword,
@@ -24059,7 +24066,10 @@ return (_ctx, _cache) => {
24059
24066
  createVNode(_component_ly0Upload_avatar, {
24060
24067
  modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
24061
24068
  "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
24062
- myProps: {uploadUrl: upload.uploadUrl_image}
24069
+ myProps: {
24070
+ uploadUrl: upload.uploadUrl_image,
24071
+ avatar: unref(propsItem_box).avatar
24072
+ }
24063
24073
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
24064
24074
  ]))
24065
24075
  : createCommentVNode("v-if", true),