我需要多行文本编辑框,用nativeUI的prompt怎么设置

- 发布:2016-07-05 22:47
- 更新:2016-07-06 11:47
- 阅读:2497

5***@qq.com (作者)
好像不行 我是这样的
mui.prompt('1','2\n9','3',['4','5','6'],function(e){mui.toast(e.index)})
但是效果是这样,到底要怎样弄呢?

BoredApe - 有问题就会有答案。
mui.prompt('text', 'deftext', 'title', ['true', 'false'], null, 'div')
document.querySelector('.mui-popup-input').appendChild(document.createElement("input"));
5***@qq.com (作者)
好像不行 我是这样的
mui.prompt('1','2\n9','3',['4','5','6'],function(e){mui.toast(e.index)})
但是效果是这样,到底要怎样弄呢?
我想要2是一条编辑框
9也是编辑框
就好比浏览器添加收藏是
2是可编辑的title
9是可编辑的url
2016-07-06 11:21