Commit 525c0b56 by caoyanzhi

update: 保存按钮组件

parent 0f353630
...@@ -22,10 +22,10 @@ export default { ...@@ -22,10 +22,10 @@ export default {
}, },
mounted() { mounted() {
this.width = this.$parent.$el.offsetWidth + 'px'; this.width = this.$parent.$el.offsetWidth + 'px';
this.layoutVm.pagePaddingBottom = '56px'; this.layoutVm.pagePaddingBottom = this.$el.offsetHeight + 'px';
}, },
beforeDestroy() { beforeDestroy() {
this.layoutVm.pagePaddingBottom = 0; this.layoutVm.pagePaddingBottom = null;
} }
}; };
</script> </script>
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
data() { data() {
return { return {
showAside: true, showAside: true,
pagePaddingBottom: '0px', pagePaddingBottom: null,
enterpriseId: '', enterpriseId: '',
// 菜单平铺数据 // 菜单平铺数据
flatMenuList: [], flatMenuList: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment