Przeglądaj źródła

style(common-ui): normalize generic formatting

xingyu4j 3 miesięcy temu
rodzic
commit
a0ea221131

+ 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;