@yoooloo42/joker 1.0.155 → 1.0.157

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
@@ -22640,7 +22640,6 @@ const ly0default$4 = {
22640
22640
  const refresh = async _ref => {
22641
22641
  let {
22642
22642
  scopeThis,
22643
- tableData,
22644
22643
  message
22645
22644
  } = _ref;
22646
22645
  const result = await ly0request$1.storpro({
@@ -22653,10 +22652,10 @@ const refresh = async _ref => {
22653
22652
  }
22654
22653
  });
22655
22654
  if (result.code === 0) {
22656
- tableData = {
22655
+ unclassified.deepClone.deepMerge(scopeThis.tableData, {
22657
22656
  data: result.data,
22658
22657
  total: result.total
22659
- };
22658
+ });
22660
22659
  if (!!message) {
22661
22660
  elementPlus.ElMessage('数据已刷新');
22662
22661
  }
@@ -42493,24 +42492,12 @@ var script$c = {
42493
42492
  const props = __props;
42494
42493
 
42495
42494
  // 顶层组件的props属性需做响应性包装,页面和js可以使用相同的命名
42496
- let tableData_box = props.modelValue;
42495
+ let tableData_box = vue.reactive(props.modelValue);
42497
42496
  const tableProps_box = vue.reactive(unclassified.deepClone.deepMerge(
42498
42497
  unclassified.deepClone.deepClone(ly0default$1.myProps),
42499
42498
  props.myProps
42500
42499
  ));
42501
42500
 
42502
- let a = vue.reactive(props.modelValue);
42503
- vue.watch(a, function (newVal, oldVal) {
42504
-
42505
- console.log('测试 222', newVal);
42506
-
42507
- });
42508
- vue.watch(tableData_box, function (newVal, oldVal) {
42509
-
42510
- console.log('测试 333', newVal);
42511
-
42512
- });
42513
-
42514
42501
  const scopeThis_box = vue.reactive(props.scopeThis);
42515
42502
 
42516
42503
  return (_ctx, _cache) => {