feat: 🚀 订阅功能

This commit is contained in:
2025-09-16 16:38:30 +08:00
parent eb1b66a066
commit d3a3ef2911
456 changed files with 40544 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
});
};