wms后台管理系统迁移

This commit is contained in:
2025-05-09 17:11:46 +08:00
parent a2b627c1aa
commit 17321702df
348 changed files with 46856 additions and 124 deletions

10
src/hooks/useMsg.ts Normal file
View File

@@ -0,0 +1,10 @@
import { ElMessage } from "element-plus";
export const useMsg = (type: any = "success", msg: string, duration?: number, showClose?: boolean) => {
ElMessage({
showClose: showClose ? showClose : false,
message: msg,
type: type,
duration: duration ? duration : 3000
});
};