From dab977ffbc42ef4c0a270f5e79a0182b82aac38c Mon Sep 17 00:00:00 2001 From: mfish Date: Sun, 5 Feb 2023 16:32:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(ApiSelect):=20=E8=A7=A3=E5=86=B3=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E7=B1=BB=E5=9E=8B=E4=B8=BAstring=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E8=AD=A6=E5=91=8A=E9=97=AE=E9=A2=98=20(#2517)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(axiosSuccess): 操作成功后根据传入提示模式进行相应 * fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题 * fix(axiosRetry): 参数首字母小写 * fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题 * feat(useDataSource): 删除之前提交代码遗留的console * fix(permissionGuard): 当获取用户信息失败时,不允许正常登陆返回登陆界面 * fix(permissionGuard): 代码还原 * fix(menu): 解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单 * feat(baseSetting): 个人设置图标修改时弹出窗显示原图片,由于跨域获取图片存在问题暂时将user.ts中的跨域图片链接去掉,直接采用本地图片 * fix(ApiSelect): 解决参数类型为string时的警告问题 --- src/components/Form/src/components/ApiSelect.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Form/src/components/ApiSelect.vue b/src/components/Form/src/components/ApiSelect.vue index 3edd45534..8bb0bfe18 100644 --- a/src/components/Form/src/components/ApiSelect.vue +++ b/src/components/Form/src/components/ApiSelect.vue @@ -48,10 +48,7 @@ default: null, }, // api params - params: { - type: Object as PropType, - default: () => ({}), - }, + params: propTypes.any.def({}), // support xxx.xxx.xx resultField: propTypes.string.def(''), labelField: propTypes.string.def('label'),