🔱: [client] sync upgrade with 3 commits [trident-sync]

chore: 一些小优化
chore: doc
This commit is contained in:
GitHub Actions Bot
2023-05-23 19:24:05 +00:00
parent 59f22ab17e
commit 02466ea0bd
7 changed files with 17 additions and 3 deletions
@@ -8,6 +8,7 @@ import UiAntdv from "@fast-crud/ui-antdv";
import _ from "lodash-es";
import { useCrudPermission } from "../permission";
import { GetSignedUrl } from "/@/views/crud/component/uploader/s3/api";
import { message, notification } from "ant-design-vue";
function install(app: any, options: any = {}) {
app.use(UiAntdv);
@@ -95,6 +96,13 @@ function install(app: any, options: any = {}) {
width: "120px"
}
},
async afterSubmit({ mode }) {
if (mode === "add") {
notification.success({ message: "添加成功" });
} else if (mode === "edit") {
notification.success({ message: "保存成功" });
}
},
wrapperCol: {
span: null
}