删除远程桌面的下拉框ip地址

原因: 如下图,有时候想清理掉无法连接的IP。
在这里插入图片描述
方法:
一、进入 注册表编辑器
进入方法:一下两个方法都可以使用。
1. 在win10里面直接搜索 注册表编辑器,然后打开
2. 打开 运行(Win + R),然后输入 regedit,就可以打开了

二、 根据 HKEY_CURRENT_USER\SOFTWARE\Microsoft\Terminal Server Client\Default 定位到位置,如下图
在这里插入图片描述

三、删除对应IP的注册项就行,如下图

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一个基本的Vue Element远程搜索下拉框虚拟列表组件。此组件包括以下功能: - 支持远程搜索 - 支持虚拟滚动 - 支持选中项 ```html <template> <el-select v-model="selected" filterable remote reserve-keyword remote-method="remoteMethod" :loading="loading" :options="options" popper-class="virtual-list-popper" class="virtual-list-select" > <template #default="{option}"> <div class="virtual-list-item">{{ option.label }}</div> </template> </el-select> </template> <script> export default { name: "VirtualListSelect", data() { return { loading: false, options: [], selected: null, pageSize: 50, pageNum: 1, total: 0, keyword: "", }; }, methods: { async remoteMethod(keyword) { this.loading = true; this.keyword = keyword; this.pageNum = 1; await this.loadData(); this.loading = false; }, async loadData() { const { data } = await this.fetchData(); this.options = data; this.total = data.length; }, async fetchData() { const start = (this.pageNum - 1) * this.pageSize; const end = start + this.pageSize; const response = await fetch( `https://api.example.com/search?q=${this.keyword}&start=${start}&end=${end}` ); const json = await response.json(); return json; }, handleScrollToEnd() { if (this.options.length < this.total) { this.pageNum++; this.loadMoreData(); } }, async loadMoreData() { const { data } = await this.fetchData(); this.options.push(...data); }, }, mounted() { const popper = document.querySelector(".virtual-list-popper"); popper.addEventListener("scroll", () => { const scrollTop = popper.scrollTop; const scrollHeight = popper.scrollHeight; const clientHeight = popper.clientHeight; if (scrollHeight - scrollTop === clientHeight) { this.handleScrollToEnd(); } }); }, }; </script> <style> .virtual-list-select .el-input__suffix { right: 10px; } .virtual-list-item { height: 50px; line-height: 50px; padding: 0 20px; border-bottom: 1px solid #ebeef5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .virtual-list-popper { max-height: 300px; overflow-y: auto; } </style> ``` 使用示例: ```html <virtual-list-select /> ```

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值