Commit 7225150e0e0ee037557a7f955e6578a8fed4ac74

Authored by xingyu4j
1 parent daa9d01a

style: crontab

yudao-ui-admin-vue3/src/components/Crontab/src/Crontab.vue
1   -<!--
2   - * @Descripttion: cron规则生成器
3   - * @version: 1.0
4   - * @Author: sakuya
5   - * @Date: 2021年12月29日15:23:54
6   - * @LastEditors:
7   - * @LastEditTime:
8   --->
9 1 <script setup lang="ts">
10 2 import { ElMessage } from 'element-plus'
11 3 import { ref, computed, onMounted, reactive, watch, PropType } from 'vue'
... ... @@ -504,7 +496,12 @@ const submit = () =&gt; {
504 496 <template>
505 497 <el-input v-model="defaultValue" v-bind="$attrs">
506 498 <template #append>
507   - <el-dropdown split-button trigger="click" @command="handleShortcuts">
  499 + <el-dropdown
  500 + split-button
  501 + type="text"
  502 + @command="handleShortcuts"
  503 + style="width: 35px; margin-left: 5px; margin-right: 2px"
  504 + >
508 505 生成器
509 506 <template #dropdown>
510 507 <el-dropdown-menu>
... ...