refactor: ♻️ cURD加强TS支持
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
const modalConfig = {
|
||||
import type { IModalConfig } from "@/components/PageModal/index.vue";
|
||||
|
||||
const modalConfig: IModalConfig = {
|
||||
pageName: "sys:user",
|
||||
dialog: {
|
||||
title: "修改用户",
|
||||
width: 800,
|
||||
"append-to-body": true,
|
||||
appendToBody: true,
|
||||
},
|
||||
formAction: function (data: any) {
|
||||
formAction: function (data) {
|
||||
console.log("edit", data);
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve({
|
||||
|
||||
Reference in New Issue
Block a user