@@ -72,7 +72,7 @@
type="link"
class="button-error"
@click="handleDel(record)"
- v-if="$hasPermissions('B_delCategory')&&(record.type=='root'&&(record.shopCategoryCount==0&&record.shopProductCount==0))"
+ v-if="$hasPermissions('B_delCategory')&&((record.type=='root'&&(record.shopCategoryCount==0&&record.shopProductCount==0))||record.type!='root')"
:id="'shoppingManagementList-del-btn'+record.id">删除</a-button>
</template>
</a-table>