Compare commits

...

1 Commits

Author SHA1 Message Date
c479a5daeb 更新 'public/index.html' 2023-08-25 11:17:47 +08:00

View File

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