🐛 fix: 模板提供的 button 的 click 事件不生效; close #31

This commit is contained in:
frostime 2024-04-27 16:55:46 +08:00
parent 2c45caf80f
commit 8daa01aedb
5 changed files with 30 additions and 8 deletions

View file

@ -382,7 +382,7 @@ export default class PluginSample extends Plugin {
let dialog = new Dialog({
title: "SettingPannel",
content: `<div id="SettingPanel" style="height: 100%;"></div>`,
width: "600px",
width: "800px",
destroyCallback: (options) => {
console.log("destroyCallback", options);
//You'd better destroy the component when the dialog is closed