瀏覽代碼

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;