mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
音频选择接入音频库
Change-Id: I62b4f8dd0b6ca354d4ad7e91e10dc0112cb6f6a6
This commit is contained in:
parent
9749db22a0
commit
7d658c8f13
@ -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',
|
||||
|
@ -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: '文件'
|
||||
|
Loading…
Reference in New Issue
Block a user