fix: 修复asset-tag、chartbox、endpoint表头等bug
1.edit-asset时tag不能新增的bug 2.chartbox url类型回显错误的bug 3.endpoint表头编辑框不显示的bug 4.底部滑框退出全屏后主列表不显示的bug 5.左侧菜单project折叠bug
This commit is contained in:
@@ -325,7 +325,7 @@
|
||||
},
|
||||
// 图表创建成功,回调panel页面,进行图表的刷新
|
||||
createSuccess(msg, data, params, panel) {
|
||||
this.filter.panelId = this.panel.id;
|
||||
this.filter.panelId = this.showPanel.id;
|
||||
this.getData(this.filter);
|
||||
},
|
||||
// 获取数据,用在子页面
|
||||
@@ -375,8 +375,7 @@
|
||||
}
|
||||
});
|
||||
},
|
||||
getTableData: function (clearShowPanel) {
|
||||
|
||||
getTableData(clearShowPanel) {
|
||||
this.$get('panel?type=dashboard').then(response => {
|
||||
if (response.code === 200) {
|
||||
this.panelData = response.data.list;
|
||||
@@ -648,7 +647,7 @@
|
||||
created() {
|
||||
this.getTableData();
|
||||
},
|
||||
mounted: function () {
|
||||
mounted() {
|
||||
this.onScroll();
|
||||
document.querySelector("#tableList").addEventListener("mouseenter", () => {
|
||||
this.tableHover = true;
|
||||
@@ -657,19 +656,8 @@
|
||||
this.tableHover = false;
|
||||
});
|
||||
},
|
||||
computed: {
|
||||
refreshPanel() {
|
||||
return this.$store.state.panelListReload;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
refreshPanel(n, o) {
|
||||
if (n) {
|
||||
this.getTableData();
|
||||
this.$store.commit('panelListChange', false);
|
||||
}
|
||||
},
|
||||
'filter.searchName':function(n,o){
|
||||
'filter.searchName': function(n,o){
|
||||
let temp=this;
|
||||
setTimeout(function(){
|
||||
temp.search();
|
||||
|
||||
Reference in New Issue
Block a user