Commit 327fcdefc942d2765a8c057ebebc4869b5ff4a2f

Authored by loveumiko
1 parent 993ab44e

fix: 修改产品品类删除权限问题

... ... @@ -209,9 +209,10 @@
209 209 const handleSuccess = () => {
210 210 reload();
211 211 };
212   -
213 212 const { hasBatchDelete, handleDeleteOrBatchDelete, selectionOptions } = useBatchDelete(
214   - props.record.ifShowClass && (isPlatformAdmin || isSysadmin) ? deleteModelCategory : deleteModel,
  213 + props.record.ifShowClass && (unref(isPlatformAdmin) || unref(isSysadmin))
  214 + ? deleteModelCategory
  215 + : deleteModel,
215 216 handleSuccess,
216 217 setProps
217 218 );
... ...