1、完善客商模块

2、完善基础数据模块
3、完善规范
This commit is contained in:
2026-08-01 01:23:13 +08:00
parent 6a4c5d02f4
commit 81c98f6ad8
77 changed files with 4883 additions and 711 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div v-if="isEmptyTotal" class="empty-pagination avue-crud__pagination">
<div v-if="shouldShow" class="empty-pagination avue-crud__pagination">
<el-pagination
background
:current-page="page.currentPage"
@@ -21,9 +21,16 @@ export default {
type: Object,
required: true,
},
alwaysShow: {
type: Boolean,
default: false,
},
},
emits: ['size-change', 'current-change', 'load'],
computed: {
shouldShow() {
return this.alwaysShow || this.isEmptyTotal;
},
isEmptyTotal() {
return Number(this.page.total || 0) === 0;
},