Ver Fonte

fix(BasicTable): ref table (#3327)

xingyu há 1 ano atrás
pai
commit
c8744a057e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/Table/src/BasicTable.vue

+ 1 - 1
src/components/Table/src/BasicTable.vue

@@ -320,7 +320,7 @@
 
   emit('register', tableAction, formActions);
 
-  defineExpose({ ...tableAction });
+  defineExpose({ tableElRef, ...tableAction });
 </script>
 <style lang="less">
   @border-color: #cecece4d;