feat:【antd】【mp】mp 的代码评审(draft)

This commit is contained in:
YunaiV
2025-11-20 18:40:35 +08:00
parent 5b4d3c9820
commit c39a445d77
14 changed files with 76 additions and 28 deletions

View File

@@ -35,6 +35,8 @@ function handleAccountChange(accountId: number) {
gridApi.formApi.submitForm();
}
// TODO @hw代码风格要和对应的 antd index.vue 一致,类似方法的顺序,注释等。原因是,这样后续两端迭代,会方便很多。
const [Grid, gridApi] = useVbenVxeGrid({
formOptions: {
schema: useGridFormSchema(),
@@ -189,7 +191,7 @@ async function handleDelete(row: Article) {
<TableAction
:actions="[
{
label: '新增',
label: $t('ui.actionTitle.create', ['图文草稿']),
type: 'primary',
icon: ACTION_ICON.ADD,
auth: ['mp:draft:create'],