|
@@ -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>
|