优化 repeat 组合方式

This commit is contained in:
2betop 2020-05-11 20:27:33 +08:00
parent 06c3241cd1
commit 080dbe33a7
2 changed files with 22 additions and 3 deletions

View File

@ -782,7 +782,25 @@ export default {
name: 'repeatCount',
type: 'range',
label: false,
visibleOn: 'data.repeatUnit != "none"'
visibleOn: 'data.repeatUnit == "year"'
},
{
name: 'repeatCount',
type: 'range',
label: false,
max: 11,
min: 1,
visibleOn: 'data.repeatUnit == "month"'
},
{
name: 'repeatCount',
type: 'range',
label: false,
max: 29,
min: 1,
visibleOn: 'data.repeatUnit == "day"'
},
{
@ -790,8 +808,8 @@ export default {
name: 'repeatUnit',
label: false,
value: 'none',
mode: 'inline',
columnClassName: 'v-middle no-grow',
// mode: 'inline',
columnClassName: 'v-middle w-sm no-grow',
options: [
{
label: '不重复',

View File

@ -1221,6 +1221,7 @@
.no-grow {
flex-grow: unset !important;
flex-basis: unset !important;
}
.nowrap {