Files
FreeERP.Applet/miniprogram/pages/components/popup-plugin/popup-plugin.ts

29 lines
443 B
TypeScript
Raw Normal View History

2025-12-26 17:26:32 +08:00
Component({
/**
*
*/
properties: {
visible: null,
placement: null,
title: null,
},
/**
*
*/
data: {},
/**
*
*/
methods: {
onVisibleChange(e: any) {
// console.log(e.detail.visible);
this.setData({ open: e.detail.visible });
2025-12-26 17:26:32 +08:00
if (!e.detail.visible) {
this.triggerEvent("close");
}
},
},
});