mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
This commit is contained in:
@@ -6894,6 +6894,7 @@ speechSynthesis.getVoices();
|
||||
} else {
|
||||
this.showUserDialog(value);
|
||||
}
|
||||
this.quickSearchVisibleChange(value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -6901,6 +6902,7 @@ speechSynthesis.getVoices();
|
||||
$app.methods.quickSearchVisibleChange = function (value) {
|
||||
if (value) {
|
||||
this.quickSearch = '';
|
||||
this.quickSearchItems = [];
|
||||
}
|
||||
};
|
||||
|
||||
@@ -8251,6 +8253,9 @@ speechSynthesis.getVoices();
|
||||
});
|
||||
|
||||
$app.methods.clearSearch = function () {
|
||||
this.searchText = '';
|
||||
this.searchUserParams = {};
|
||||
this.searchWorldParams = {};
|
||||
this.searchUserResults = [];
|
||||
this.searchWorldResults = [];
|
||||
this.searchAvatarResults = [];
|
||||
|
||||
@@ -221,7 +221,7 @@ html
|
||||
//- search
|
||||
.x-container(v-show="$refs.menu && $refs.menu.activeIndex === 'search'")
|
||||
div(style="margin:0 0 10px;display:flex;align-items:center")
|
||||
el-input(v-model="searchText" clearable placeholder="Search" @keyup.native.13="search()" style="flex:1")
|
||||
el-input(v-model="searchText" placeholder="Search" @keyup.native.13="search()" style="flex:1")
|
||||
el-tooltip(placement="bottom" content="Clear search results" :disabled="hideTooltips")
|
||||
el-button(type="default" @click="clearSearch()" icon="el-icon-delete" circle style="flex:none;margin-left:10px")
|
||||
el-tabs(ref="searchTab" type="card" style="margin-top:15px")
|
||||
|
||||
Reference in New Issue
Block a user