@@ -55,6 +55,13 @@ export default (app, option = {}) => {
return this.option.rowKey || option.rowKey || 'id'
}
},
+ activated() {
+ if (this.$refs.crud) {
+ this.$nextTick(() => {
+ this.$refs.crud.doLayout();
+ });
+ }
+ },
methods: {
getList() {
this.loadData();
@@ -19,7 +19,7 @@ export default {
label: '月份',
prop: 'yearAndMonth',
span: 24,
- width: 60,
+ width: 65,
align: 'center',
showOverflowTooltip: true,