This commit is contained in:
zmr900709
2020-07-04 11:03:20 +08:00
parent 64b43b6b3d
commit 3d8cfd23d4
5 changed files with 62 additions and 45 deletions

View File

@@ -34,9 +34,14 @@
};
},
onLoad(){
// 列表的方法
this.labelList()
// 标签的列表展示
console.log("11111222")
this.$u.api.labelList({
}).then((res) => {
console.log(res)
this.tab_lables = res.data
})
},
mounted(){
@@ -68,16 +73,7 @@
url: '/pages/index/index'
});
},
// 标签的列表展示
labelList(){
console.log("11111222")
this.$u.api.labelList({
}).then((res) => {
console.log(res)
this.tab_lables = res.data
})
},
}
};
</script>