|
@@ -564,9 +564,10 @@ export default {
|
|
|
this.excuteBtnArr = res.data.resultMap.button?.filter(
|
|
|
(item) => item.btnGroupType == "right"
|
|
|
);
|
|
|
- this.topBtnArr = res.data.resultMap.button?.filter(
|
|
|
- (item) => item.btnGroupType == "top"
|
|
|
- );
|
|
|
+ this.topBtnArr =
|
|
|
+ res.data.resultMap.button?.filter(
|
|
|
+ (item) => item.btnGroupType == "top"
|
|
|
+ ) || [];
|
|
|
this.calcuteExcuteCol();
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.tableRef.doLayout();
|