Browse Source

Administrators group prohibit deletion (#1182)

* Ans UI upgrade to version 0.1.0

* Administrators group prohibit deletion
pull/2/head
break60 5 years ago committed by qiaozhanwei
parent
commit
5140535e12
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue

4
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue

@ -78,8 +78,8 @@
<x-button type="primary" size="xsmall" shape="circle" @click="_delete(item,$index)">{{$t('Confirm')}}</x-button>
</div>
<template slot="reference">
<x-button type="error" shape="circle" size="xsmall" data-toggle="tooltip" icon="iconfont icon-shanchu" :title="$t('delete')">
</x-button>
<x-button v-if="item.id==1" type="error" shape="circle" size="xsmall" data-toggle="tooltip" icon="iconfont icon-shanchu" :title="$t('delete')" disabled></x-button>
<x-button v-else type="error" shape="circle" size="xsmall" data-toggle="tooltip" icon="iconfont icon-shanchu" :title="$t('delete')"></x-button>
</template>
</x-poptip>
</td>

Loading…
Cancel
Save