fixed 打包后访问权限问题,升级1.0.8.
This commit is contained in:
@@ -160,6 +160,7 @@ import Member from "@/views/group/Member";
|
||||
import ConsumerDetail from "@/views/group/ConsumerDetail";
|
||||
import AddSupscription from "@/views/group/AddSupscription";
|
||||
import OffsetTopicPartition from "@/views/group/OffsetTopicPartition";
|
||||
import { isAuthorized } from "@/utils/auth";
|
||||
|
||||
export default {
|
||||
name: "ConsumerGroup",
|
||||
@@ -235,6 +236,9 @@ export default {
|
||||
});
|
||||
},
|
||||
openConsumerMemberDialog(groupId) {
|
||||
if (!isAuthorized("group:client")) {
|
||||
return;
|
||||
}
|
||||
this.showConsumerGroupDialog = true;
|
||||
this.selectDetail.resourceName = groupId;
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="content">
|
||||
<div class="content" v-action:topic:load>
|
||||
<a-spin :spinning="loading">
|
||||
<div class="topic">
|
||||
<div id="components-form-topic-advanced-search">
|
||||
|
||||
@@ -45,7 +45,11 @@
|
||||
bordered
|
||||
row-key="id"
|
||||
>
|
||||
<div slot="operation" slot-scope="record" v-show="record.username != 'super-admin'">
|
||||
<div
|
||||
slot="operation"
|
||||
slot-scope="record"
|
||||
v-show="record.username != 'super-admin'"
|
||||
>
|
||||
<a-popconfirm
|
||||
:title="'删除用户: ' + record.username + '?'"
|
||||
ok-text="确认"
|
||||
|
||||
Reference in New Issue
Block a user