【新增】模板接口对接
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user