This commit is contained in:
zxkmm 2024-01-17 00:06:41 +08:00
parent 065921b16a
commit 492f5e9f00

View file

@ -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");