TopDownPopup.js.map 1.5 KB

1
  1. {"version":3,"names":["popupRef","common_vendor","ref","popupType","open","type","value","_a","close","__expose","wx","createComponent","_sfc_main"],"sources":["TopDownPopup.vue","RDovcHJvamVjdC_kuqTlibLlupMvamdrLXByb2plY3QvY29tcG9uZW50cy9Ub3BEb3duUG9wdXAvVG9wRG93blBvcHVwLnZ1ZQ"],"sourcesContent":["<template>\n <uni-popup ref=\"popupRef\" :type=\"popupType\" border-radius=\"10px 10px 0 0\">\n <!-- 弹窗内容 -->\n <slot></slot>\n </uni-popup>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nconst popupRef = ref(null);\nconst popupType = ref('top');\n\n// 定义方法以供外部调用\nfunction open(type) {\n if (type) popupType.value = type;\n popupRef.value?.open(); // 使用可选链操作符防止错误\n}\n\nfunction close() {\n popupRef.value?.close(); // 使用可选链操作符防止错误\n}\n\n// 将方法暴露给父组件\ndefineExpose({ open, close });\n</script>","import Component from 'D:/project/交割库/jgk-project/components/TopDownPopup/TopDownPopup.vue'\nwx.createComponent(Component)"],"mappings":";;;;;;;;;;;;;;;;;;;IAUA,IAAMA,QAAA,GAAWC,aAAA,CAAAC,GAAA,CAAI,IAAI;IACzB,IAAMC,SAAA,GAAYF,aAAA,CAAAC,GAAA,CAAI,KAAK;IAG3B,SAASE,KAAKC,IAAA,EAAM;;MAClB,IAAIA,IAAA,EAAMF,SAAA,CAAUG,KAAA,GAAQD,IAAA;MAC5B,CAAAE,EAAA,GAAAP,QAAA,CAASM,KAAA,KAAT,gBAAAC,EAAA,CAAgBH,IAAA;IAClB;IAEA,SAASI,MAAA,EAAQ;;MACf,CAAAD,EAAA,GAAAP,QAAA,CAASM,KAAA,KAAT,gBAAAC,EAAA,CAAgBC,KAAA;IAClB;IAGAC,QAAA,CAAa;MAAEL,IAAA,EAAAA,IAAA;MAAMI,KAAA,EAAAA;IAAK,CAAE;;;;;;;;;;;;;ACvB5BE,EAAA,CAAGC,eAAA,CAAgBC,SAAS","ignoreList":[]}