WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2023-07-03 97eddf7c1dc55394d410a203a27e90622f0244ce
数值显示组件,优化显示排列
1 files modified
8 ■■■■ changed files
layout/numerical/CNumerical.vue 8 ●●●● patch | view | raw | blame | history
layout/numerical/CNumerical.vue
@@ -52,10 +52,14 @@
                if (surplus === 0) {
                    return 4;
                } else if (surplus === 1) {
                    if (index === this.values.length - 1) {
                    if (this.values.length === 1) {
                        return 12;
                    } else {
                        return 4;
                        if (index >= this.values.length - 4) {
                            return 6;
                        } else {
                            return 4;
                        }
                    }
                } else if (surplus === 2) {
                    if (index >= this.values.length - 2) {