支持快捷脚本库&执行

This commit is contained in:
chaos-zhu 2024-07-31 21:51:03 +08:00
parent 794e54f339
commit 912ad6561d
2 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@
- [x] 凭据托管
- [x] 邮件通知
- [x] 实例状态推送
- [x] 脚本库
- [ ] 批量指令(开发中)
- [ ] 脚本库(开发中)
- 实例面板
![实例面板](./doc_images/v2.0-1.jpg)

View File

@ -29,7 +29,7 @@
:teleported="false"
class="scripts_menu"
>
<span class="link_text">快捷命令<el-icon><arrow-down /></el-icon></span>
<span class="link_text">脚本库<el-icon><arrow-down /></el-icon></span>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item v-for="item in scriptList" :key="item.id" @click="handleExecScript(item)">
@ -362,7 +362,7 @@ const handleInputCommand = async (command) => {
// }
.scripts_menu {
:deep(.el-dropdown-menu) {
min-width: 100px;
min-width: 120px;
max-width: 300px;
}
}