|
|
@@ -3,9 +3,8 @@
|
|
|
<!-- <i style="font-weight:bold" class="el-icon-delete" @click="() => append()"></i> -->
|
|
|
<!-- <el-button size="small" type="text" icon="el-icon-delete" @click="() => append()">{{$t('删 除')}}</el-button> -->
|
|
|
<el-tooltip class="item" effect="dark" :content="$t('删除')" placement="top-start">
|
|
|
- <p @click="() => append()"><i :style="{'fontWeight':'bold','opacity': data.isused == 1?'0.5':'1'}" class="el-icon-delete" v-if="data.parentid !== 0"> </i></p>
|
|
|
+ <el-button icon="el-icon-delete" :style="{'fontWeight':'bold','color':data.isused == 1?'':'#f56c6c','opacity': data.isused == 1?'1':'1'}" type="text" :disabled="data.isused == 1" @click="() => append()" v-if="data.parentid !== 0"></el-button>
|
|
|
</el-tooltip>
|
|
|
-
|
|
|
</div>
|
|
|
</template>
|
|
|
|