因为经常忘记写法,截图下来
created() {
this.getNodeTreeByParentId();
},
methods: {
async getNodeTreeByParentId() {
let res = await getNodeTreeByParentId(this.params);
if (res.description === "成功") {
this.resultList = res.resultList;;
}
},
},
5821

被折叠的 条评论
为什么被折叠?



