mirror of
https://gitee.com/layui/layui.git
synced 2025-10-07 23:24:32 +08:00
修复 upload 的 progress
属性的示例代码错误
This commit is contained in:
@@ -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 进度条元素使用
|
||||
|
||||
|
Reference in New Issue
Block a user