+
95
-

回答

 layui.use('layedit',
function() {
var layedit = layui.layedit;
layedit.set({
uploadImage: {
url: '/upload.php',
type: '' //默认post, type: 'post'
},
uploadSound: {
url: 'upload.php',
type: '' //默认post, type: 'post'
}
});
layedit.build('demo'); //建立编辑器
});

网友回复

我知道答案,我要回答