支持网页快开插件

This commit is contained in:
muwoo
2023-11-02 16:00:50 +08:00
parent 9663232864
commit 562a13fdff
4 changed files with 16 additions and 5 deletions

View File

@@ -78,13 +78,13 @@ getPluginInfo({
watch([options, pluginHistory, currentPlugin], () => {
currentSelect.value = 0;
// if (currentPlugin.value.name) return;
if (currentPlugin.value.name) return;
nextTick(() => {
ipcRenderer.sendSync('msg-trigger', {
type: 'setExpendHeight',
data: getWindowHeight(
options.value,
(pluginLoading.value || currentPlugin.value.name) ? [] : pluginHistory.value
(pluginLoading.value) ? [] : pluginHistory.value
),
});
});