|
@@ -72,7 +72,7 @@
|
|
type="link"
|
|
type="link"
|
|
class="button-error"
|
|
class="button-error"
|
|
@click="handleDel(record)"
|
|
@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>
|
|
:id="'shoppingManagementList-del-btn'+record.id">删除</a-button>
|
|
</template>
|
|
</template>
|
|
</a-table>
|
|
</a-table>
|