mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-06-23 10:30:26 +08:00
升级Vue3,iView替换ElementPlus
- 删除babel配置、更新依赖与入口初始化 - 全量替换UI组件、样式适配,新增迁移文档与标签/过滤器自动化替换脚本
This commit is contained in:
@@ -2,7 +2,7 @@ import store from "@/store";
|
||||
import config from "@/config/config";
|
||||
import WsSocket from "@/plugins/ws-socket";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { Notification } from "element-ui";
|
||||
import { ElNotification } from "element-plus";
|
||||
|
||||
// 引入消息处理类
|
||||
import KeyboardEvent from "@/im-server/event/keyboard";
|
||||
@@ -86,7 +86,7 @@ class SocketInstance {
|
||||
});
|
||||
|
||||
this.socket.on("event_error", (data) => {
|
||||
Notification({
|
||||
ElNotification({
|
||||
title: "友情提示",
|
||||
message: data.message,
|
||||
type: "warning",
|
||||
|
||||
Reference in New Issue
Block a user