From a8e536625b2d7fdde70833e63b5d36f228226540 Mon Sep 17 00:00:00 2001 From: zxy Date: Thu, 16 Apr 2026 17:46:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(tsoorder):=20=E4=BF=AE=E5=A4=8D=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E6=80=BB=E6=95=B0=E8=8E=B7=E5=8F=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue b/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue index b1f73ba..da876d2 100644 --- a/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue +++ b/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue @@ -203,7 +203,7 @@ export default { .then((res) => { console.log('接口返回:', res); this.list = res.data.list || []; - this.total = res.data.pagination?.total || 0; + this.total = res.data.pagination && res.data.pagination.total ? res.data.pagination.total : 0; console.log('列表数据:', this.list); this.listLoading = false; })