修改禅道已知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: { watch: {
$route: function(val) { $route: function(val) {
this.$nextTick(() => { 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'; font-family: 'BlueSkyNoto';
src: url("./assets/fontStyle/BlueSkyNotoRegular.otf"); src: url("./assets/fontStyle/BlueSkyNotoRegular.otf");
} }
* { * {
font-family: 'BlueSkyNoto'; font-family: 'BlueSkyNoto';
} }
body { body {
font-family: "Blue Sky Noto" !important; font-family: "Blue Sky Noto" !important;
} }
@@ -10,7 +10,7 @@
:visible="visible" :visible="visible"
style="height: 100%;overflow: auto;padding-bottom: 53px;"> style="height: 100%;overflow: auto;padding-bottom: 53px;">
<a-spin :spinning="confirmLoading"> <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"> <div class="drawer-content">
<a-tree <a-tree
v-if="visibleTree" v-if="visibleTree"
@@ -49,6 +49,7 @@
data() { data() {
return { return {
gData: [], gData: [],
searchModel:"",
autoExpandParent: true, autoExpandParent: true,
expandedKeys: [], expandedKeys: [],
visible: false, visible: false,
@@ -68,6 +69,7 @@
methods: { methods: {
getPush(data) { getPush(data) {
this.tableKey = data this.tableKey = data
this.searchModel = ''
this.visible = true this.visible = true
this.visibleTree = false this.visibleTree = false
this.$nextTick(() => { this.$nextTick(() => {