Skip to content

Commit

Permalink
管理端分组和策略优化
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazy committed Aug 25, 2020
1 parent 845c848 commit 321ebf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions joyqueue-console/joyqueue-portal/src/views/topic/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export default {
return [
{
txt: '策略',
method: 'on-policy'
method: 'on-policy',
isAdmin: true
},
{
txt: '详情',
Expand Down Expand Up @@ -248,7 +249,7 @@ export default {
this.topic.policy[this.policies[policy].key] = this.policies[policy].value
}
}
apiRequest.put(this.urlOrigin.edit + '/' + this.topic.id, {}, this.topic).then((data) => {
apiRequest.put(this.urlOrigin.edit + '/' + encodeURIComponent(this.topic.id), {}, this.topic).then((data) => {
this.policyDialog.visible = false
if (data.code === 200) {
this.$Dialog.success({
Expand Down

0 comments on commit 321ebf8

Please sign in to comment.