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