tangning 4 月之前
父節點
當前提交
27f2b1cd73
共有 2 個文件被更改,包括 19 次插入25 次删除
  1. 19 14
      src/App.vue
  2. 0 11
      src/design/ant/table.less

+ 19 - 14
src/App.vue

@@ -20,19 +20,24 @@
 </script>
 
 <style lang="less">
-.desc-wrap-BasicTable {
-  background-color: #f0f2f5;
-  .vben-basic-table-form-container {
-    padding: 0;
+  .desc-wrap-BasicTable {
+    background-color: #f0f2f5;
+    .vben-basic-table-form-container {
+      padding: 0;
+    }
+  }
+  .ant-input-textarea-clear-icon {
+    margin: 8px 2px 0 0 !important;
+  }
+  // 自定义添加Table空值字符
+  .ant-table-cell:empty:after,
+  .ant-table-row-cell-ellipsis:empty:after,
+  .ant-table-cell span:empty:after {
+    content: '-';
+  }
+  .ant-table-row-indent {
+    &:after {
+      content: '' !important;
+    }
   }
-}
-.ant-input-textarea-clear-icon{
-  margin: 8px 2px 0 0 !important;
-}
-// .ant-calendar-picker{
-//   min-width: 385px;
-// }
-// .ant-select-selector{
-//   max-width: 249px;
-// }
 </style>

+ 0 - 11
src/design/ant/table.less

@@ -1,15 +1,4 @@
 @prefix-cls: ~'@{namespace}-basic-table';
-// 自定义添加Table空值字符
-.ant-table-cell:empty:after,
-.ant-table-row-cell-ellipsis:empty:after,
-.ant-table-cell span:empty:after {
-  content: '-';
-}
-.ant-table-row-indent {
-  &:after {
-    content: '' !important;
-  }
-}
 // fix table unnecessary scrollbar
 .@{prefix-cls} {
   .hide-scrollbar-y {