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

@@ -1,5 +1,5 @@
<template>
<div v-show="!currentPlugin.name" class="options">
<div v-show="!currentPlugin.name && config.perf.common.history" class="options">
<div
class="history-plugins"
v-if="!options.length || !(searchValue || !!clipboardFile.length)"
@@ -44,12 +44,16 @@
</template>
<script lang="ts" setup>
import {defineEmits, defineProps, reactive, toRaw, watch} from 'vue';
import { defineEmits, defineProps, reactive, ref, toRaw, watch } from 'vue';
import localConfig from '../confOp';
const path = window.require('path');
const remote = window.require('@electron/remote');
declare const __static: string;
const config: any = ref(localConfig.getConfig());
const props: any = defineProps({
searchValue: {
type: [String, Number],