11
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user