mirror of
https://github.com/siyuan-note/plugin-sample-vite-svelte.git
synced 2025-06-07 18:46:01 +00:00
fix: protyle
This commit is contained in:
parent
34e3646add
commit
ddca3e0e24
2 changed files with 12 additions and 5 deletions
|
@ -83,7 +83,10 @@ export default class PluginSample extends Plugin {
|
|||
|
||||
let tabDiv = document.createElement("div");
|
||||
new HelloExample({
|
||||
target: tabDiv
|
||||
target: tabDiv,
|
||||
props: {
|
||||
app: this.app,
|
||||
}
|
||||
});
|
||||
this.customTab = this.addTab({
|
||||
type: TAB_TYPE,
|
||||
|
@ -234,6 +237,9 @@ export default class PluginSample extends Plugin {
|
|||
});
|
||||
new HelloExample({
|
||||
target: dialog.element.querySelector("#helloPanel"),
|
||||
props: {
|
||||
app: this.app,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue