Commit c7878b08 authored by 李纪文's avatar 李纪文

fix: 修改视频查看组件问题

parent a3eb5052
...@@ -114,13 +114,13 @@ const ConfigurationView = (props) => { ...@@ -114,13 +114,13 @@ const ConfigurationView = (props) => {
const globalConfig = window.globalConfig || config; const globalConfig = window.globalConfig || config;
let isClose = false; let isClose = false;
// 子应用包名查找 // 子应用包名查找
const product = queryProduct(globalConfig?.widgets || [], decodeURI(window.location.pathname)); const widgets = queryProduct(globalConfig?.widgets || [], decodeURI(window.location.pathname));
const _JessibucaObj = { const _JessibucaObj = {
operateBtns: { operateBtns: {
screenshot: false, screenshot: false,
}, },
loadingText: '视频加载中', loadingText: '视频加载中',
decoder: product ? `/${product}/JessibucaVideo/decoder.js` : '/JessibucaVideo/decoder.js', decoder: product ? `/${widgets.product}/JessibucaVideo/decoder.js` : '/JessibucaVideo/decoder.js',
}; };
/** **********************************获取工艺图画板信息*********************** */ /** **********************************获取工艺图画板信息*********************** */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment