web-component-gallery 2.0.21 → 2.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js.umd.js +1 -1
- package/lib/form-comp/ASelectCustom.vue +140 -74
- package/lib/modal/style/index.less +1 -0
- package/lib/model/Model.js +68 -50
- package/lib/model/utils/render.js +71 -48
- package/lib/table/index.vue +4 -4
- package/package.json +1 -1
package/lib/table/index.vue
CHANGED
|
@@ -153,11 +153,11 @@ export default {
|
|
|
153
153
|
},
|
|
154
154
|
watch: {
|
|
155
155
|
paginationParams(newValue) {
|
|
156
|
-
this.pagination = { ...newValue }
|
|
156
|
+
this.pagination = { ...this.pagination, ...newValue }
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
mounted() {
|
|
160
|
-
this.pagination = { ...this.paginationParams }
|
|
160
|
+
this.pagination = { ...this.pagination, ...this.paginationParams }
|
|
161
161
|
// 监听父级高度
|
|
162
162
|
this.initResizeObserver()
|
|
163
163
|
const scrollTimer = setTimeout(() => {
|
|
@@ -196,8 +196,8 @@ export default {
|
|
|
196
196
|
16 - // 基础间距
|
|
197
197
|
tableTitleHeight -
|
|
198
198
|
headerHeight -
|
|
199
|
-
|
|
200
|
-
/**
|
|
199
|
+
24 // 浮动空间缓冲
|
|
200
|
+
/** 24为获取高度时抹掉的小数点后两位的浮动空间(存在叠加多个获取错误的情况) */
|
|
201
201
|
},
|
|
202
202
|
/** 根据高度判断dom元素是否加载 进行删除 */
|
|
203
203
|
removeDomElement() {
|