🐛 修复分离窗口后主程序失去响应的bug

This commit is contained in:
muwoo 2023-10-20 15:33:41 +08:00
parent c0aaae08ee
commit 5553170c5a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "rubick", "name": "rubick",
"version": "4.0.7", "version": "4.0.8",
"author": "muwoo <2424880409@qq.com>", "author": "muwoo <2424880409@qq.com>",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@ -222,7 +222,7 @@ class API extends DBInstance {
} }
public getFeatures() { public getFeatures() {
return this.currentPlugin.features; return this.currentPlugin?.features;
} }
public setFeature({ data }, window) { public setFeature({ data }, window) {