From 9789c55ef944ffdbfd7b2bdaf9d2a210f6572a32 Mon Sep 17 00:00:00 2001
From: Lawrence <1934378145@qq.com>
Date: 星期三, 20 一月 2021 20:42:58 +0800
Subject: [PATCH] 增加SSE前端推送支持
---
web_src/src/router/index.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js
index b8f8705..658da4e 100644
--- a/web_src/src/router/index.js
+++ b/web_src/src/router/index.js
@@ -5,6 +5,7 @@
import videoList from '../components/videoList.vue'
import channelList from '../components/channelList.vue'
import login from '../components/Login.vue'
+import parentPlatformList from '../components/ParentPlatformList.vue'
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
@@ -35,5 +36,10 @@
name: 'channelList',
component: channelList,
},
+ {
+ path: '/parentPlatformList/:count/:page',
+ name: 'parentPlatformList',
+ component: parentPlatformList,
+ },
]
})
--
Gitblit v1.8.0