@yoooloo42/joker 1.0.78 → 1.0.80

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.cjs.js CHANGED
@@ -41819,14 +41819,14 @@ const props = __props;
41819
41819
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41820
41820
  const emit = __emit;
41821
41821
 
41822
- const value = vue.computed(() => Object.assign({
41822
+ const value = vue.ref(vue.computed(() => Object.assign({
41823
41823
  code2: '',
41824
41824
  text2: '',
41825
41825
  code4: '',
41826
41826
  text4: '',
41827
41827
  code6: '',
41828
41828
  text6: '',
41829
- }, {code6: props.modelValue || ''}));
41829
+ }, {code6: props.modelValue || ''})));
41830
41830
 
41831
41831
  const popup = vue.reactive({
41832
41832
  visible: false,
@@ -41840,7 +41840,7 @@ const popup = vue.reactive({
41840
41840
  }
41841
41841
  });
41842
41842
 
41843
- vue.watch(() => props.myProps.value,
41843
+ vue.watch(() => props.modelValue,
41844
41844
  async (valNew, valOld) => {
41845
41845
  // 只有当传入的值有效时才进行网络请求
41846
41846
  if (!valNew) return;