Browse Source

refactor: add stylelint ignore filepath rule

lanjianrong 3 years ago
parent
commit
91bdd91bcf
2 changed files with 5 additions and 2 deletions
  1. 3 0
      .stylelintignore
  2. 2 2
      src/pages/Project/Verification/index.tsx

+ 3 - 0
.stylelintignore

@@ -1 +1,4 @@
 src/pages/Schema/Base/components/Designable
+dist
+src/.umi
+src/.umi-production

+ 2 - 2
src/pages/Project/Verification/index.tsx

@@ -86,7 +86,7 @@ const FlowList = () => {
       title: '模板名称',
       onHeaderCell: () => ({ style: { textAlign: 'center' } }),
       render: (_, record) => (
-        <span
+        <div
           className="text-primary hover:cursor-pointer hover:text-blue-600"
           onClick={() => {
             setState({
@@ -101,7 +101,7 @@ const FlowList = () => {
             </span>
           ) : null}
           <span className="ml-1 ">{record.name}</span>
-        </span>
+        </div>
       )
     },
     // {