优化播放器以及部分日志

This commit is contained in:
panlinlin
2021-04-21 18:14:45 +08:00
parent ab13017117
commit c566d4d7cf
11 changed files with 39 additions and 21 deletions

View File

@@ -63,9 +63,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
from: path.resolve(__dirname, '../static'),
to: config.dev.assetsSubDirectory,
ignore: ['.*']
},
{ from: 'node_modules/@easydarwin/easywasmplayer/libDecoder.wasm', to: 'static/'},
{ from: 'node_modules/@easydarwin/easywasmplayer/EasyWasmPlayer.js', to: 'static/js/'}
}
])
]
})

View File

@@ -114,9 +114,7 @@ const webpackConfig = merge(baseWebpackConfig, {
from: path.resolve(__dirname, '../static'),
to: config.build.assetsSubDirectory,
ignore: ['.*']
},
{ from: 'node_modules/@easydarwin/easywasmplayer/libDecoder.wasm', to: 'static/'},
{ from: 'node_modules/@easydarwin/easywasmplayer/EasyWasmPlayer.js', to: 'static/js/'}
}
])
]
})

View File

@@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@easydarwin/easywasmplayer": {
"version": "4.0.7",
"resolved": "https://registry.npm.taobao.org/@easydarwin/easywasmplayer/download/@easydarwin/easywasmplayer-4.0.7.tgz",
"integrity": "sha1-FNtIUXbdwIWdalvIMEaH0+zUGx4="
"version": "4.0.12",
"resolved": "https://registry.npm.taobao.org/@easydarwin/easywasmplayer/download/@easydarwin/easywasmplayer-4.0.12.tgz",
"integrity": "sha1-8Isg0HkYtHHQ20PLnCTHsOjw7lA="
},
"@types/q": {
"version": "1.5.4",

View File

@@ -10,7 +10,6 @@
"build": "node build/build.js"
},
"dependencies": {
"@easydarwin/easywasmplayer": "^4.0.7",
"axios": "^0.19.2",
"core-js": "^2.6.5",
"echarts": "^4.7.0",

View File

@@ -9,6 +9,7 @@ import streamProxyList from '../components/StreamProxyList.vue'
import devicePosition from '../components/devicePosition.vue'
import login from '../components/Login.vue'
import parentPlatformList from '../components/ParentPlatformList.vue'
import test from '../components/test.vue'
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
@@ -56,6 +57,11 @@ export default new VueRouter({
path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
name: 'devicePosition',
component: devicePosition,
},,
{
path: '/test',
name: 'test',
component: test,
},
]
})

File diff suppressed because one or more lines are too long

Binary file not shown.