音频选择接入音频库

Change-Id: I62b4f8dd0b6ca354d4ad7e91e10dc0112cb6f6a6
This commit is contained in:
zhangxulong 2022-08-11 19:43:04 +08:00
parent 9749db22a0
commit 7d658c8f13
2 changed files with 9 additions and 2 deletions

View File

@ -39,12 +39,12 @@ export class AudioPlugin extends BasePlugin {
tpl: '<p>当前为字段内容节点配置,选择上层还有更多的配置。</p>'
}
: null,
{
getSchemaTpl('audioUrl',{
name: 'src',
type: 'input-text',
label: '音频地址',
description: '支持获取变量如:<code>\\${audioSrc}</code>'
},
}),
{
type: 'select',
name: 'rates',

View File

@ -717,6 +717,13 @@ setSchemaTpl('backgroundImageUrl', {
label: '图片路径'
});
setSchemaTpl('audioUrl', {
type: 'input-text',
label: '音频地址',
name: 'src',
description: '支持获取变量如:<code>\\${audioSrc}</code>'
});
setSchemaTpl('fileUrl', {
type: 'input-text',
label: '文件'