mirror of
https://github.com/siyuan-note/plugin-sample-vite-svelte.git
synced 2025-06-08 02:46:02 +00:00
🎨 refactor: setting-utils args
This commit is contained in:
parent
56be185458
commit
57cc62f7b5
2 changed files with 17 additions and 9 deletions
|
@ -163,7 +163,9 @@ export default class PluginSample extends Plugin {
|
|||
}
|
||||
});
|
||||
|
||||
this.settingUtils = new SettingUtils(this, STORAGE_NAME);
|
||||
this.settingUtils = new SettingUtils({
|
||||
plugin: this, name: STORAGE_NAME
|
||||
});
|
||||
this.settingUtils.addItem({
|
||||
key: "Input",
|
||||
value: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue