mirror of https://github.com/layui/layui
更新 table 文档的 `complete` 属性说明
parent
18d7bfd2a1
commit
bb5cdd0fe5
|
@ -478,6 +478,20 @@ error: function(e, msg) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>complete <sup>2.8.18+</sup></td>
|
||||||
|
<td colspan="3">
|
||||||
|
|
||||||
|
数据接口请求完成后执行,无论成功还是失败均会触发
|
||||||
|
|
||||||
|
```
|
||||||
|
complete: function(xhr, ts) {
|
||||||
|
console.log(xhr, ts)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue