增加门禁授权操作
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
15683799673
2025-06-30 06:16:40 +08:00
parent ffb32c817a
commit 285ac3e0ed
22 changed files with 219 additions and 2636 deletions

View File

@@ -1,4 +1,4 @@
import type { FormSchemaGetter, VbenFormSchema } from '#/adapter/form';
import { type FormSchemaGetter, type VbenFormSchema } from '#/adapter/form';
import type { VxeGridProps } from '#/adapter/vxe-table';
import { DictEnum } from '@vben/constants';
@@ -20,7 +20,7 @@ const labelText: VbenFormSchema = {
valueField: 'id',
// immediate: true,
api: async () => {
if(!libArr || libArr.length == 0){
if (!libArr || libArr.length == 0) {
const params: PersonLibQuery = {
pageNum: 1,
pageSize: 500,
@@ -35,11 +35,11 @@ const labelText: VbenFormSchema = {
);
item.labelText = (
<span>
{item.libName} {tag}
</span>
{item.libName} {tag}
</span>
);
});
libArr = res.rows
libArr = res.rows;
}
return libArr;
},