[update] 通过ids获取用户信息接口改成post请求
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction } from '@/api/manage'
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import { getWorkGroupTreeList } from '@/api/api'
|
||||
|
||||
export default {
|
||||
@@ -435,7 +435,7 @@ export default {
|
||||
const params = {}
|
||||
params.userIds = ids
|
||||
this.loadingRight = true
|
||||
getAction(this.url.userListByIds, params).then((res) => {
|
||||
postAction(this.url.userListByIds, params).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataSourceRight = res.result.map(item => { return { ...item, userId: item.id } }) || []
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user