<template>
    <d2-container>
        <template slot="header">设置</template>
        <el-form>
            <el-form-item class="text">本页面仅能查看设置，如需更改，请修改hs.config.js</el-form-item>
            <el-form-item label="当前版本:">
              {{$version}}
            </el-form-item>
            <el-form-item label="最新版本:">{{latestVersion}}</el-form-item>
        </el-form>
    </d2-container>
</template>

<script>
import axios from 'axios'

async function latestVersion() {
  axios.get('')
}

export default {
  data () {
    return {
      latestVersion: latestVersion
    }
  }
}
</script>

<style>
    .text {
        color:  #999;
        font-size: 12px;
    }
</style>
