mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
@@ -34,10 +34,13 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
created () {
|
||||
this.$store.dispatch('setting/getSetting')
|
||||
async created () {
|
||||
await this.$store.dispatch('setting/getSetting')
|
||||
},
|
||||
mounted () {
|
||||
async mounted () {
|
||||
const res = await this.$request.get('/version')
|
||||
this.version = res.data.data
|
||||
sessionStorage.setItem('v', this.version)
|
||||
window.setUseStats = (value) => {
|
||||
document.querySelector('.el-message__closeBtn').click()
|
||||
if (value === 1) {
|
||||
|
||||
@@ -55,9 +55,6 @@ export default {
|
||||
}
|
||||
},
|
||||
async created () {
|
||||
const res = await this.$request.get('/version')
|
||||
this.version = res.data.data
|
||||
sessionStorage.setItem('v', this.version)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user