mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-10 07:23:23 +08:00
修复浏览器控制网络被阻塞的BUG
This commit is contained in:
@@ -15,7 +15,10 @@ export default defineComponent({
|
||||
try {
|
||||
const tab = await quickcomposer.browser.getCurrentTab();
|
||||
window.utools.hideMainWindow();
|
||||
const selectElement = await quickcomposer.browser.getSelector(tab);
|
||||
const selectElement = await quickcomposer.browser.getSelector({
|
||||
by: "id",
|
||||
searchValue: tab.id,
|
||||
});
|
||||
window.utools.showMainWindow();
|
||||
this.$emit("emitValue", "str", selectElement || "");
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user