2024年7月23日
摘要: 1、二次封装Notification openMessageBox(val) { return new Promise((resolve, reject) => { const h = this.$createElement this.$msgbox({ title: '告警确认处理', showC 阅读全文
posted @ 2024-07-23 14:11 小虾米吖~ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 1、封装socketjs import store from '@/store'class socketIO { constructor() { this.socketTask = null this.is_open_socket = false //避免重复连接 this.is_show_Load 阅读全文
posted @ 2024-07-23 14:05 小虾米吖~ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1、根目录permission.js import VueSocketIO from "vue-socket.io"; import { getToken } from '@/utils/auth' router.beforeEach((to, from, next) => { NProgress. 阅读全文
posted @ 2024-07-23 14:01 小虾米吖~ 阅读(2) 评论(0) 推荐(0) 编辑