mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
d26bb04110
commit
852d5fbe52
3 changed files with 20 additions and 5 deletions
|
|
@ -170,6 +170,9 @@ export class Plugin {
|
|||
}) {
|
||||
/// #if !MOBILE
|
||||
const type2 = this.name + options.type;
|
||||
if (typeof options.config.index === "undefined") {
|
||||
options.config.index = 1000;
|
||||
}
|
||||
this.docks[type2] = {
|
||||
config: options.config,
|
||||
model: (arg: { tab: Tab }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue