Просмотр исходного кода

Merge branch 'master' of http://192.168.1.41:3000/outaozhen/cldV2react

outaozhen 5 лет назад
Родитель
Сommit
27f7392690

+ 0 - 1
src/pages/Product/Lock/Lockstore/components/LocksDetail/LockModal.jsx

@@ -144,7 +144,6 @@ const LockModal = props => {
 
   const checkGroupOnChange = e => {
     const { value = '' } = e.target || {}
-    console.log('search', state.search)
     initData({ status: value, current: 1, pageSize: 10, search: state.search })
   }
 

+ 0 - 2
src/robots.txt

@@ -1,2 +0,0 @@
-User-agent: *
-Disallow: /

+ 42 - 0
tsconfig.json

@@ -0,0 +1,42 @@
+{
+  "compilerOptions": {
+    "outDir": "build/dist",
+    "module": "esnext",
+    "target": "esnext",
+    "lib": ["esnext", "dom"],
+    "sourceMap": true,
+    "baseUrl": ".",
+    "jsx": "react-jsx",
+    "resolveJsonModule": true,
+    "allowSyntheticDefaultImports": true,
+    "moduleResolution": "node",
+    "forceConsistentCasingInFileNames": true,
+    "noImplicitReturns": true,
+    "suppressImplicitAnyIndexErrors": true,
+    "noUnusedLocals": true,
+    "allowJs": true,
+    "skipLibCheck": true,
+    "experimentalDecorators": true,
+    "strict": true,
+    "paths": {
+      "@/*": ["./src/*"],
+      "@@/*": ["./src/.umi/*"]
+    }
+  },
+  "include": [
+    "mock/**/*",
+    "src/**/*",
+    "tests/**/*",
+    "test/**/*",
+    "__test__/**/*",
+    "typings/**/*",
+    "config/**/*",
+    ".eslintrc.js",
+    ".stylelintrc.js",
+    ".prettierrc.js",
+    "windi.config.ts",
+    "jest.config.js",
+    "mock/*"
+  ],
+  "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
+}