@yoooloo42/joker 1.0.238 → 1.0.240

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
@@ -42834,6 +42834,16 @@ props.modelValue.forEach((item, index) => {
42834
42834
  });
42835
42835
  });
42836
42836
 
42837
+ console.log('joker测试 000', props.modelValue);
42838
+ console.log('joker测试 111', fileList_box.value);
42839
+
42840
+ watch(()=>props.modelValue, (newVal, oldVal) => {
42841
+ console.log('joker测试 222', newVal);
42842
+ });
42843
+ watch(()=>fileList_box.value, (newVal, oldVal) => {
42844
+ console.log('joker测试 333', newVal);
42845
+ });
42846
+
42837
42847
  const style = reactive({
42838
42848
  avatarBox: {
42839
42849
  width: myProps_box.avatar.width,
@@ -42885,6 +42895,11 @@ const hdl = {
42885
42895
  emit("update:modelValue", []);
42886
42896
  },
42887
42897
  success (response, file, fileList) { // 上传
42898
+
42899
+ console.log('joker测试 444', response);
42900
+ console.log('joker测试 555', file);
42901
+ console.log('joker测试 666', fileList);
42902
+
42888
42903
  // 重置文件列表, 注意:通过使用splice保持响应性
42889
42904
  // 只能上传一个图片
42890
42905
  fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));