This commit is contained in:
owen
2023-12-01 18:57:46 +08:00
parent 08be359578
commit b4ba1043d6
25 changed files with 64 additions and 47 deletions

View File

@ -29,7 +29,12 @@
:class="showTopSearch ? 'w-220px ml2' : 'w-0'"
@change="handleChange"
>
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
</template>
@ -73,7 +78,7 @@ function remoteMethod(data) {
function handleChange(path) {
router.push({ path })
hiddenTopSearch();
hiddenTopSearch()
}
function hiddenTopSearch() {