更新 'public/index.html'

This commit is contained in:
LittleBoy 2023-08-25 11:17:47 +08:00
parent 347c5f91dc
commit c479a5daeb

View File

@ -108,12 +108,16 @@
const app = new Vue({
el: '#app',
async mounted() {
let data = await this.requestData('./project/');
console.log(data);
this.projects = data
mounted() {
this.loadProjectList();
},
methods: {
async loadProjectList(){
let data = await this.requestData('./project/');
console.log(data);
this.projects = data
setTimeout(()=>this.loadProjectList(),10000)
},
/**
*
* @param {ProjectInfo} data