소스 검색

style(common-ui): normalize generic formatting

xingyu4j 3 달 전
부모
커밋
a0ea221131
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/effects/common-ui/src/components/api-component/api-component.vue

+ 1 - 1
packages/effects/common-ui/src/components/api-component/api-component.vue

@@ -275,7 +275,7 @@ defineExpose({
   /** 获取当前值 */
   getValue: () => unref(modelValue),
   /** 获取被包装的组件实例 */
-  getComponentRef: <T = any,>() => componentRef.value as T,
+  getComponentRef: <T = any>() => componentRef.value as T,
   /** 更新Api参数 */
   updateParam(newParams: Record<string, any>) {
     innerParams.value = newParams;