This commit is contained in:
muwoo
2024-02-20 18:07:19 +08:00
parent a0644c0ccf
commit 70ce3dd037
12 changed files with 28 additions and 7 deletions

View File

@@ -44,6 +44,7 @@ import useDrag from '../common/utils/dragWindow';
import { getGlobal } from '@electron/remote';
import { PLUGIN_HISTORY } from '@/common/constans/renderer';
import { message } from 'ant-design-vue';
import localConfig from './confOp';
const { onMouseDown } = useDrag();
const remote = window.require('@electron/remote');
@@ -74,6 +75,8 @@ initPlugins();
const currentSelect = ref(0);
const menuPluginInfo: any = ref({});
const config: any = ref(localConfig.getConfig());
getPluginInfo({
pluginName: 'feature',
// eslint-disable-next-line no-undef
@@ -91,7 +94,7 @@ watch(
window.rubick.setExpendHeight(
getWindowHeight(
options.value,
pluginLoading.value ? [] : pluginHistory.value
(pluginLoading.value || !config.value.perf.common.history) ? [] : pluginHistory.value
)
);
},