marvzhang
2019-12-20 09:58:04 +08:00
parent d1f96369b4
commit 038e3041a3
2 changed files with 6 additions and 2 deletions

View File

@@ -32,4 +32,4 @@ task:
workers: 4
other:
tmppath: "/tmp"
version: v0.4.1
version: 0.4.1

View File

@@ -51,8 +51,12 @@ export default {
},
data () {
return {
version: '0.4.1'
version: ''
}
},
async created () {
const res = await this.$request.get('/version')
this.version = res.data.data
}
}
</script>