🐛(component): 修复 total 为 0 时禁用下一页操作

This commit is contained in:
就眠儀式
2022-08-23 23:11:23 +08:00
parent fccdf27ae2
commit df8b318bdc
2 changed files with 5 additions and 4 deletions

View File

@@ -143,7 +143,7 @@ export default {
setup() {
const limit4 = ref(20)
const total4 = ref(100)
const total4 = ref(0)
const change4 = ({ current, limit }) => {
layer.msg("current:" + current + " limit:" + limit);
}