vue2-client 1.15.36 → 1.15.37
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/package.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
@action="action"
|
9
9
|
@selectRow="selectRow"
|
10
10
|
@columnClick="columnClick"
|
11
|
-
serviceName="af-
|
11
|
+
serviceName="af-liuli"
|
12
12
|
ref="xFormTable">
|
13
13
|
</x-form-table>
|
14
14
|
</a-card>
|
@@ -26,7 +26,7 @@ export default {
|
|
26
26
|
data () {
|
27
27
|
return {
|
28
28
|
// 查询配置文件名
|
29
|
-
queryParamsName: '
|
29
|
+
queryParamsName: 'crud_namespace_manage',
|
30
30
|
// 新增表单固定值
|
31
31
|
fixedAddForm: {},
|
32
32
|
// 是否显示详情抽屉
|
@@ -569,17 +569,6 @@ export default {
|
|
569
569
|
},
|
570
570
|
mounted () {
|
571
571
|
window.addEventListener('resize', this.handleResize)
|
572
|
-
// 监听 DOM 变化,更实时地响应布局变化
|
573
|
-
this.resizeObserver = new ResizeObserver(() => {
|
574
|
-
this.handleResize()
|
575
|
-
})
|
576
|
-
if (this.$refs.table) {
|
577
|
-
this.resizeObserver.observe(this.$refs.table)
|
578
|
-
}
|
579
|
-
// 监听父容器变化
|
580
|
-
if (this.$el && this.$el.parentElement) {
|
581
|
-
this.resizeObserver.observe(this.$el.parentElement)
|
582
|
-
}
|
583
572
|
// 初始化时如果有外部选中值,等待 table 准备好后设置
|
584
573
|
if (this.externalSelectedRowKeys && this.externalSelectedRowKeys.length > 0) {
|
585
574
|
this.$nextTick(() => {
|
@@ -593,9 +582,6 @@ export default {
|
|
593
582
|
clearInterval(this.queryTimer)
|
594
583
|
}
|
595
584
|
window.removeEventListener('resize', this.handleResize)
|
596
|
-
if (this.resizeObserver) {
|
597
|
-
this.resizeObserver.disconnect()
|
598
|
-
}
|
599
585
|
},
|
600
586
|
methods: {
|
601
587
|
showTempData () {
|