mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 06:42:26 +00:00
[update]测试默认时间选择器
This commit is contained in:
parent
0c9507645b
commit
8e659b64c7
@ -20,7 +20,7 @@ export default {
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
value: ''
|
||||
value: [(new Date().getTime()) - 432000000, new Date().getTime()]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -24,6 +24,10 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
tableConfig: {
|
||||
extraQuery: {
|
||||
date_to: (new Date().getTime() / 1000),
|
||||
date_from: (new Date().getTime() / 1000) - 432000
|
||||
},
|
||||
hasSelection: false,
|
||||
url: this.url,
|
||||
columns: [
|
||||
@ -103,6 +107,8 @@ export default {
|
||||
hasDatePicker: true
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user