洪海涛 4 vuotta sitten
vanhempi
sitoutus
d9793f5f3c
6 muutettua tiedostoa jossa 32 lisäystä ja 1 poistoa
  1. 3 0
      .idea/.gitignore
  2. 8 0
      .idea/modules.xml
  3. 12 0
      .idea/platformui.iml
  4. 6 0
      .idea/vcs.xml
  5. 1 1
      package.json
  6. 2 0
      src/components/detialTable/index.js

+ 3 - 0
.idea/.gitignore

@@ -0,0 +1,3 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml

+ 8 - 0
.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/platformui.iml" filepath="$PROJECT_DIR$/.idea/platformui.iml" />
+    </modules>
+  </component>
+</project>

+ 12 - 0
.idea/platformui.iml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$">
+      <excludeFolder url="file://$MODULE_DIR$/temp" />
+      <excludeFolder url="file://$MODULE_DIR$/.tmp" />
+      <excludeFolder url="file://$MODULE_DIR$/tmp" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>

+ 6 - 0
.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@didi/platformui",
-  "version": "0.1.79",
+  "version": "0.1.80",
   "description": "A platformui",
   "main": "dist/bundle.js",
   "author": "wenbobowen",

+ 2 - 0
src/components/detialTable/index.js

@@ -13,6 +13,7 @@ export default function DetialTable(props) {
     curIndex,
     pageSize = 15,
     pagination = true,
+    bordered = false,
     expandedRowRender = false,
     onExpand = false,
     ellipsis = false,
@@ -27,6 +28,7 @@ export default function DetialTable(props) {
         columns={columns}
         dataSource={data}
         rowKey={rowKey}
+        bordered={bordered}
         rowClassName={rowClassName}
         onHeaderRow={onHeaderRow}
         pagination= {pagination && {