fix: 通用脚本用户添加额外展示项
This commit is contained in:
@@ -38,13 +38,6 @@
|
||||
删除当前队列
|
||||
</a-button>
|
||||
</a-popconfirm>
|
||||
|
||||
<a-button size="large" @click="handleRefresh">
|
||||
<template #icon>
|
||||
<ReloadOutlined />
|
||||
</template>
|
||||
刷新
|
||||
</a-button>
|
||||
</a-space>
|
||||
</div>
|
||||
</div>
|
||||
@@ -211,7 +204,7 @@
|
||||
<script setup lang="ts">
|
||||
import { nextTick, onMounted, ref, watch } from 'vue'
|
||||
import { message } from 'ant-design-vue'
|
||||
import { DeleteOutlined, EditOutlined, PlusOutlined, ReloadOutlined, QuestionCircleOutlined } from '@ant-design/icons-vue'
|
||||
import { DeleteOutlined, EditOutlined, PlusOutlined, QuestionCircleOutlined } from '@ant-design/icons-vue'
|
||||
import { Service } from '@/api'
|
||||
import TimeSetManager from '@/components/queue/TimeSetManager.vue'
|
||||
import QueueItemManager from '@/components/queue/QueueItemManager.vue'
|
||||
@@ -634,13 +627,6 @@ const saveQueueData = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
// 刷新队列列表
|
||||
const handleRefresh = async () => {
|
||||
loading.value = true
|
||||
await fetchQueues()
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
// 自动保存功能
|
||||
watch(
|
||||
() => [
|
||||
|
||||
Reference in New Issue
Block a user