This commit is contained in:
clay
2022-01-16 22:53:34 +08:00
parent b7897ba20e
commit fa8bc05879
4 changed files with 26 additions and 23 deletions

View File

@@ -71,22 +71,18 @@
<script>
import {getStatistic} from "@/api";
import {getConfig} from "@/api";
export default {
name: "bottom",
data(){
return{
form:{
sitetype:process.env.SITE_TYPE,
test:'test'
},
data:{}
}
},
created() {
getStatistic(this.form).then(res=>{
this.data = res.data
getConfig("statistic").then(res=>{
this.data = JSON.parse(res.data)
})
}
}