修改禅道已知bug

This commit is contained in:
qq787203167
2022-03-30 14:27:12 +08:00
parent 94a25c4b7a
commit a500d5b898
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -81,7 +81,9 @@
watch: {
$route: function(val) {
this.$nextTick(() => {
this.$watermark.set(this.userInfo().username + ' ' + this.userInfo().realname)
if (this.userInfo() && this.userInfo().username) {
this.$watermark.set(this.userInfo().username + ' ' + this.userInfo().realname)
}
})
}
},
@@ -97,9 +99,11 @@
font-family: 'BlueSkyNoto';
src: url("./assets/fontStyle/BlueSkyNotoRegular.otf");
}
* {
font-family: 'BlueSkyNoto';
}
body {
font-family: "Blue Sky Noto" !important;
}
@@ -10,7 +10,7 @@
:visible="visible"
style="height: 100%;overflow: auto;padding-bottom: 53px;">
<a-spin :spinning="confirmLoading">
<a-input-search style="margin-bottom: 8px" :placeholder="$t('NodeQuickLookup')" @change="onChange"/>
<a-input-search style="margin-bottom: 8px" v-model="searchModel" :placeholder="$t('NodeQuickLookup')" @change="onChange"/>
<div class="drawer-content">
<a-tree
v-if="visibleTree"
@@ -49,6 +49,7 @@
data() {
return {
gData: [],
searchModel:"",
autoExpandParent: true,
expandedKeys: [],
visible: false,
@@ -68,6 +69,7 @@
methods: {
getPush(data) {
this.tableKey = data
this.searchModel = ''
this.visible = true
this.visibleTree = false
this.$nextTick(() => {