File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
docs/src/.vuepress/components Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 6
6
:periods =" periods"
7
7
:fields =" fields"
8
8
@error =" error=$event"
9
- :custom-locale =" customLocale"
10
- :cols =" cols" />
9
+ :custom-locale =" customLocale" />
11
10
</div >
12
11
</template >
13
12
14
13
<script >
15
14
16
- import { defaultItems , genItems , pad } from ' @vue-js-cron/core'
15
+ import { defaultItems , genItems , pad } from ' @vue-js-cron/core' ;
17
16
18
17
export default {
19
18
data () {
@@ -35,13 +34,6 @@ export default {
35
34
{ id: ' day' , items: items .dayItems },
36
35
{ id: ' month' , items: items .monthItems }
37
36
],
38
- cols (fieldId ) {
39
- if (fieldId === ' minute' ) return 5
40
- else if (fieldId === ' hour' ) return 4
41
- else if (fieldId === ' day' ) return 4
42
- else if (fieldId === ' second' ) return 3
43
- else return 1
44
- },
45
37
customLocale: {
46
38
' *' : {
47
39
second: {
You can’t perform that action at this time.
0 commit comments