提交 9cf070dd 编写于 作者: 无木

feat(api-select): clear options before fetch

ApiSelect组件在发起新的请求之前先清空已有的options
上级 41e6d94b
......@@ -4,8 +4,9 @@
- 修复滚动条样式问题
- 修复树形表格的带有展开图标的单元格的内容对齐问题
- **AppSearch** 修复可能会搜索隐藏菜单的问题
- **其它** 修复菜单默认折叠的配置不起作用的问题
- 修复 safari 浏览器报错导致网站打不开
- **其它**
- 修复菜单默认折叠的配置不起作用的问题
- 修复`safari`浏览器报错导致网站打不开
### 🎫 Chores
......
......@@ -106,7 +106,7 @@
async function fetch() {
const api = props.api;
if (!api || !isFunction(api)) return;
options.value = [];
try {
loading.value = true;
const res = await api(props.params);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册