增加腾讯视频插件
This commit is contained in:
@@ -4,7 +4,7 @@ let apps = {list: [], desc: "用于产品库主页面获取应用使用", type:
|
||||
const getFileInfo = (app, file) => {
|
||||
if (/^App/.test(app.name)) {
|
||||
let {name, label} = app,
|
||||
path = app.path.replace(/.+[\\\/]([^\\\/]+)[\\\/]([^\\\/]+)$/g, `/mods/$1/$2`)
|
||||
path = app.path.replace(/.+[\\\/]([^\\\/]+)[\\\/]([^\\\/]+)$/g, `/mods/$1/$2`)
|
||||
apps.list.push({
|
||||
id: file.replace(/\.\/?(vue)?/g, '')?.replace(/[\\\/]/g, '_'),
|
||||
name,
|
||||
@@ -36,7 +36,8 @@ const start = () => {
|
||||
navigationBarBackgroundColor: "#4181FF",
|
||||
"mp-weixin": {
|
||||
"usingComponents": {
|
||||
"cell": "plugin://materialPlugin/cell"
|
||||
"cell": "plugin://materialPlugin/cell",
|
||||
"qplayer": "plugin://player/video"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user