Commit fe3fd184f9100407c3f682394c35e75e9c7668a9
1 parent
905385d4
Revert "style: crontab"
This reverts commit 7225150e0e0ee037557a7f955e6578a8fed4ac74.
Showing
1 changed file
with
9 additions
and
6 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 | +--> | ||
| 1 | <script setup lang="ts"> | 9 | <script setup lang="ts"> |
| 2 | import { ElMessage } from 'element-plus' | 10 | import { ElMessage } from 'element-plus' |
| 3 | import { ref, computed, onMounted, reactive, watch, PropType } from 'vue' | 11 | import { ref, computed, onMounted, reactive, watch, PropType } from 'vue' |
| @@ -496,12 +504,7 @@ const submit = () => { | @@ -496,12 +504,7 @@ const submit = () => { | ||
| 496 | <template> | 504 | <template> |
| 497 | <el-input v-model="defaultValue" v-bind="$attrs"> | 505 | <el-input v-model="defaultValue" v-bind="$attrs"> |
| 498 | <template #append> | 506 | <template #append> |
| 499 | - <el-dropdown | ||
| 500 | - split-button | ||
| 501 | - type="text" | ||
| 502 | - @command="handleShortcuts" | ||
| 503 | - style="width: 35px; margin-left: 5px; margin-right: 2px" | ||
| 504 | - > | 507 | + <el-dropdown split-button trigger="click" @command="handleShortcuts"> |
| 505 | 生成器 | 508 | 生成器 |
| 506 | <template #dropdown> | 509 | <template #dropdown> |
| 507 | <el-dropdown-menu> | 510 | <el-dropdown-menu> |