Parcourir la source

fix(BasicTable): ref table (#3327)

xingyu il y a 1 an
Parent
commit
c8744a057e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;