提交 dad94f7a 作者: 毛细亚

🐞 fix: 修正请求角色列表时的member_id获取逻辑

上级 cac1397a
......@@ -156,13 +156,13 @@
})
},
requestRoleList() {
if (this.accountSelect == '') {
if (this.accountSelect == '' && !this.member_id) {
this.$message.warning('暂无关联的账号,请先去关联账号!')
return false
}
const data = {
api_search_name: '',
member_id: this.accountSelect
member_id: this.member_id || this.accountSelect // 先取任务详情的member_id,没有的话取账号的member_id
}
roleList(data).then(res => {
if (res.status_code == 1) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论