Vanessa 2023-05-24 10:47:53 +08:00
parent d26bb04110
commit 852d5fbe52
3 changed files with 20 additions and 5 deletions

View file

@ -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 }) => {