diff --git a/dist/index.html b/dist/index.html index 4d07f9e..d1ada60 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,4 +1,4 @@ -X-PHP

当前浏览器内核版本过低

当前版本:-- --

最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。

请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。

+ diff --git a/src/views/table/2/index.vue b/src/views/table/2/index.vue index 2b53f47..60ce28a 100644 --- a/src/views/table/2/index.vue +++ b/src/views/table/2/index.vue @@ -103,7 +103,7 @@ export default { this.search[res.data.tabskey] = res.data.tabsdefaultvalue } // 子组件加载完毕后调用回调函数,并传递数据 - this.$emit('child-loaded', Object.assign({}, this.$data.aside, {search: this.$data.search})); + this.$emit('child-loaded', Object.assign({}, this.$data.aside, { search: this.$data.search })); } }); } @@ -112,8 +112,8 @@ export default { }, computed: { getWidth() { - return function(item) { - return item.width ? item.width+'px' : 'auto'; + return function (item) { + return item.width ? item.width + 'px' : 'auto'; } }, filterObj() { @@ -180,7 +180,7 @@ export default { plus() { this.dialog.save = true this.$nextTick(() => { - this.$refs.saveDialog.open('plus').getComponentType(this.operation.plus.component).setData({}).setConfig(this.operation.plus) + this.$refs.saveDialog.open('plus').getComponentType(this.operation.plus.component).setData(this.operation.plus.data || {}).setConfig(this.operation.plus) }) }, //编辑 @@ -218,14 +218,17 @@ export default { \ No newline at end of file +} \ No newline at end of file