数据
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<input type="text" class="inputStyle" v-model="baseUrl">
|
||||
</div>
|
||||
<div class="inputOuter">
|
||||
<label>刷新时间</label>
|
||||
<label>刷新时间(秒)</label>
|
||||
<input type="number" class="inputStyle" v-model="setTime">
|
||||
</div>
|
||||
<div class="inputOuter">
|
||||
@@ -80,6 +80,10 @@ export default {
|
||||
this.index = e
|
||||
},
|
||||
_config () {
|
||||
if (this.setTime > 10800) {
|
||||
this.toast('刷新时间设置过长')
|
||||
return
|
||||
}
|
||||
let obj = {
|
||||
baseUrl: this.baseUrl,
|
||||
setTime: this.setTime * 1000,
|
||||
@@ -206,7 +210,7 @@ export default {
|
||||
width 100%
|
||||
margin-bottom 12px
|
||||
.inputStyle, .select-wraper
|
||||
_wh(calc(100% - 100px), 38px)
|
||||
_wh(calc(100% - 116px), 38px)
|
||||
font-size 15px
|
||||
background none
|
||||
line-height 38px
|
||||
@@ -228,7 +232,7 @@ export default {
|
||||
outline none
|
||||
font-weight normal
|
||||
label
|
||||
width 100px
|
||||
width 115px
|
||||
font-size 15px
|
||||
line-height 38px
|
||||
color #333333
|
||||
|
||||
Reference in New Issue
Block a user