mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
12 lines
461 B
JavaScript
12 lines
461 B
JavaScript
import { ElMessage, ElMessageBox, ElNotification } from "element-plus";
|
|
|
|
export { ElNotification, ElMessage, ElMessageBox };
|
|
|
|
export function setupLegacyMessage(app) {
|
|
app.config.globalProperties.$message = ElMessage;
|
|
app.config.globalProperties.$notify = ElNotification;
|
|
app.config.globalProperties.$confirm = ElMessageBox.confirm;
|
|
app.config.globalProperties.$prompt = ElMessageBox.prompt;
|
|
app.config.globalProperties.$alert = ElMessageBox.alert;
|
|
}
|