权限
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m54s

This commit is contained in:
FLL
2025-08-22 11:07:08 +08:00
parent 7b2c8e47dd
commit 06a710d1f8
6 changed files with 10 additions and 31 deletions

View File

@@ -110,13 +110,13 @@ function handleMultiDelete() {
:disabled="!vxeCheckboxChecked(tableApi)"
danger
type="primary"
v-access:code="['property:property:remove']"
v-access:code="['property:plantsProduct:remove']"
@click="handleMultiDelete">
{{ $t('pages.common.delete') }}
</a-button>
<a-button
type="primary"
v-access:code="['property:property:add']"
v-access:code="['property:plantsProduct:add']"
@click="handleAdd"
>
{{ $t('pages.common.add') }}
@@ -126,12 +126,13 @@ function handleMultiDelete() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:plantsProduct:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}
</ghost-button>
<ghost-button
v-access:code="['property:property:edit']"
v-access:code="['property:plantsProduct:edit']"
@click.stop="handleEdit(row)"
>
{{ $t('pages.common.edit') }}
@@ -144,7 +145,7 @@ function handleMultiDelete() {
>
<ghost-button
danger
v-access:code="['property:property:remove']"
v-access:code="['property:plantsProduct:remove']"
@click.stop=""
>
{{ $t('pages.common.delete') }}