mirror of https://github.com/layui/layui
修复 upload 的 `progress` 属性的示例代码错误
parent
4c350453bb
commit
3c7c622c86
|
@ -342,7 +342,7 @@ before: function(obj){ // obj 参数同 choose
|
|||
</div>
|
||||
|
||||
```
|
||||
progress: progress: function(n, elem, res, index){
|
||||
progress: function(n, elem, res, index){
|
||||
var percent = n + '%' // 获取进度百分比
|
||||
element.progress('demo', percent); // 可配合 layui 进度条元素使用
|
||||
|
||||
|
|
Loading…
Reference in New Issue