From 44b7f67a2029aafd43d9eb4de7b28561f0f53bcd Mon Sep 17 00:00:00 2001 From: xiaoxie <hotcoffie@163.com> Date: 星期六, 23 四月 2022 23:54:49 +0800 Subject: [PATCH] 在1e2d207aea24b5956d5ece95ed4a9db0f59f34d7这个版本中,作者删除了initData函数,但是忘记删除mounted中的this.mounted() 导致console报错 --- web_src/src/router/index.js | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index 5a1d964..8844862 100644 --- a/web_src/src/router/index.js +++ b/web_src/src/router/index.js @@ -99,16 +99,6 @@ component: media, }, { - path: '/play/wasm/:url', - name: 'wasmPlayer', - component: wasmPlayer, - }, - { - path: '/play/rtc/:url', - name: 'rtcPlayer', - component: rtcPlayer, - }, - { path: '/map', name: 'devicePosition', component: devicePosition, @@ -125,5 +115,15 @@ name: 'deviceTree', component: deviceTree, }, + { + path: '/play/wasm/:url', + name: 'wasmPlayer', + component: wasmPlayer, + }, + { + path: '/play/rtc/:url', + name: 'rtcPlayer', + component: rtcPlayer, + }, ] }) -- Gitblit v1.8.0