mirror of
https://github.com/siyuan-note/plugin-sample-vite-svelte.git
synced 2025-06-08 10:56:01 +00:00
clean up
This commit is contained in:
parent
065921b16a
commit
492f5e9f00
1 changed files with 1 additions and 1 deletions
|
@ -941,7 +941,7 @@ export default class PluginSample extends Plugin {
|
||||||
|
|
||||||
async appendCurrentDeviceIntoList() {
|
async appendCurrentDeviceIntoList() {
|
||||||
try {
|
try {
|
||||||
// await!!!!!
|
// 注意await
|
||||||
var current_device_info = await this.fetchCurrentDeviceInfo();
|
var current_device_info = await this.fetchCurrentDeviceInfo();
|
||||||
|
|
||||||
var enableDeviceList = this.settingUtils.get("enableDeviceList");
|
var enableDeviceList = this.settingUtils.get("enableDeviceList");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue