Commit 7225150e0e0ee037557a7f955e6578a8fed4ac74
1 parent
daa9d01a
style: crontab
Showing
1 changed file
with
6 additions
and
9 deletions
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 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 10 | import { ElMessage } from 'element-plus' | 2 | import { ElMessage } from 'element-plus' |
| 11 | import { ref, computed, onMounted, reactive, watch, PropType } from 'vue' | 3 | import { ref, computed, onMounted, reactive, watch, PropType } from 'vue' |
| @@ -504,7 +496,12 @@ const submit = () => { | @@ -504,7 +496,12 @@ const submit = () => { | ||
| 504 | <template> | 496 | <template> |
| 505 | <el-input v-model="defaultValue" v-bind="$attrs"> | 497 | <el-input v-model="defaultValue" v-bind="$attrs"> |
| 506 | <template #append> | 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 | <template #dropdown> | 506 | <template #dropdown> |
| 510 | <el-dropdown-menu> | 507 | <el-dropdown-menu> |