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