mirror of https://github.com/bjdgyc/anylink.git
调整日期选择框大小,修改定时器为每天执行
This commit is contained in:
parent
812eb587bb
commit
3dbc369e6b
|
@ -11,6 +11,6 @@ func Start() {
|
|||
s := gocron.NewScheduler(time.Local)
|
||||
s.Cron("0 * * * *").Do(ClearAudit)
|
||||
s.Cron("0 * * * *").Do(ClearStatsInfo)
|
||||
s.Every("1s").Do(sessdata.CloseUserLimittimeSession)
|
||||
s.Every(1).Day().At("00:00").Do(sessdata.CloseUserLimittimeSession)
|
||||
s.StartAsync()
|
||||
}
|
||||
|
|
|
@ -189,6 +189,7 @@
|
|||
type="date"
|
||||
size="small"
|
||||
align="center"
|
||||
style="width:130px"
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Reference in New Issue