🐛 fix: 模板提供的 button 的 click 事件不生效; close #31
This commit is contained in:
parent
2c45caf80f
commit
8daa01aedb
5 changed files with 30 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue