Browse Source

fix: VxeTable demo parameter typo& tabs close icon not centered (#2989)

* fix(msg): message icon not centered

* fix: VxeTable demo parameter typo

* fix: tabs close icon not centered
Li Kui 1 year ago
parent
commit
1c1ce4b0e3
2 changed files with 3 additions and 2 deletions
  1. 2 1
      src/design/ant/index.less
  2. 1 1
      src/views/demo/table/VxeTable.vue

+ 2 - 1
src/design/ant/index.less

@@ -18,7 +18,8 @@ span.anticon:not(
     .anticon-info-circle,
     .anticon-info-circle,
     .anticon-close-circle,
     .anticon-close-circle,
     .anticon-exclamation-circle,
     .anticon-exclamation-circle,
-    .anticon-loading
+    .anticon-loading,
+    .anticon-close
   ) {
   ) {
   vertical-align: 0.125em !important;
   vertical-align: 0.125em !important;
 }
 }

+ 1 - 1
src/views/demo/table/VxeTable.vue

@@ -73,7 +73,7 @@
       ajax: {
       ajax: {
         query: async ({ page, form }) => {
         query: async ({ page, form }) => {
           return demoListApi({
           return demoListApi({
-            pageNum: page.currentPage,
+            page: page.currentPage,
             pageSize: page.pageSize,
             pageSize: page.pageSize,
             ...form,
             ...form,
           });
           });