@yoooloo42/joker 1.0.254 → 1.0.255

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
@@ -48436,49 +48436,57 @@ var script$5 = {
48436
48436
  props: {
48437
48437
  myProps: {
48438
48438
  type: Object,
48439
- default: () => ({
48440
- popup: {
48441
- switch: false,
48442
- visible: false,
48443
- title: '支付记录',
48444
- width: '1200px',
48445
- top: '15vh'
48446
- },
48447
- id_business: null, // 订单id
48448
- businesstype_code: '', // 订单类别
48449
- deal: 0, // 订单金额(应收应付)
48450
- wx_appid: '',
48451
- wx_mchid: '',
48452
- readOnly: false,
48453
- })
48439
+ default: () => ({})
48454
48440
  }
48455
48441
  },
48456
48442
  setup(__props) {
48457
48443
 
48444
+ const props = __props;
48445
+
48446
+ const scopeThis = reactive({
48447
+ props_box: unclassified.deepClone.deepDefaults(props.myProps, {
48448
+ popup: {
48449
+ switch: false,
48450
+ visible: false,
48451
+ title: '支付记录',
48452
+ width: '1200px',
48453
+ top: '15vh'
48454
+ },
48455
+ id_business: null, // 订单id
48456
+ businesstype_code: '', // 订单类别
48457
+ deal: 0, // 订单金额(应收应付)
48458
+ wx_appid: '',
48459
+ wx_mchid: '',
48460
+ readOnly: false,
48461
+ })
48462
+ });
48463
+
48458
48464
  return (_ctx, _cache) => {
48459
48465
  const _component_el_dialog = resolveComponent("el-dialog");
48460
48466
 
48461
- return (__props.myProps.popup.switch)
48467
+ return (scopeThis.props_box.popup.switch)
48462
48468
  ? (openBlock(), createBlock(_component_el_dialog, {
48463
48469
  key: 0,
48464
- modelValue: __props.myProps.popup.visible,
48465
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((__props.myProps.popup.visible) = $event)),
48470
+ modelValue: scopeThis.props_box.popup.visible,
48471
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((scopeThis.props_box.popup.visible) = $event)),
48466
48472
  "custom-class": 'code-template-dialog',
48467
48473
  "close-on-press-escape": true,
48468
48474
  "append-to-body": "",
48469
- title: __props.myProps.popup.title,
48470
- width: __props.myProps.popup.width,
48471
- top: __props.myProps.popup.top,
48475
+ title: scopeThis.props_box.popup.title,
48476
+ width: scopeThis.props_box.popup.width,
48477
+ top: scopeThis.props_box.popup.top,
48472
48478
  "destroy-on-close": true
48473
48479
  }, {
48474
48480
  default: withCtx(() => [
48475
- createVNode(script$6, { myProps: __props.myProps }, null, 8 /* PROPS */, ["myProps"])
48481
+ createVNode(script$6, {
48482
+ myProps: scopeThis.props_box
48483
+ }, null, 8 /* PROPS */, ["myProps"])
48476
48484
  ]),
48477
48485
  _: 1 /* STABLE */
48478
48486
  }, 8 /* PROPS */, ["modelValue", "title", "width", "top"]))
48479
48487
  : (openBlock(), createBlock(script$6, {
48480
48488
  key: 1,
48481
- myProps: __props.myProps
48489
+ myProps: scopeThis.props_box
48482
48490
  }, null, 8 /* PROPS */, ["myProps"]))
48483
48491
  }
48484
48492
  }