【新增】模板接口对接

This commit is contained in:
yanran200730
2024-10-26 22:49:11 +08:00
parent 4f4f303867
commit 8900853066
3 changed files with 54 additions and 16 deletions

View File

@@ -61,7 +61,7 @@
},
created () {
// this.getList()
this.getList()
},
methods: {
@@ -74,15 +74,14 @@
},
getList () {
console.log(this.tableData)
this.$http.post('/api/learning/pluginPage', null, {
this.$http.post('/api/template/getPage', null, {
params: {
...this.search
}
}).then(res => {
if (res.code === 0) {
// this.tableData = res.data.records
// this.total = res.data.total
this.tableData = res.data.records
this.total = res.data.total
}
})
},