sunsheng 1 viikko sitten
vanhempi
commit
9285dd71dc
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 1 1
      src/pages/deepseek/questionAnswer/info/index.tsx
  2. 2 1
      vite.config.ts

+ 1 - 1
src/pages/deepseek/questionAnswer/info/index.tsx

@@ -533,7 +533,7 @@ const QuestionAnswerInfo: React.FC = () => {
     const saveConfig = (type: 'SAVE' | 'SUBMIT') => {
         form.validateFields().then(async (values) => {
             const data = values;
-            console.log(values, 'values');
+            console.log(values, 'values----');
             // 问题列表
             const question: string[] = [];
             if (inputs) {

+ 2 - 1
vite.config.ts

@@ -68,7 +68,8 @@ export default defineConfig(({ mode, command }) => {
       },
     },
     esbuild: {
-      drop: command === 'build' ? ['console', 'debugger'] : [],
+      // drop: command === 'build' ? ['console', 'debugger'] : [],
+      drop: command === 'build' ? [] : [],
     },
     plugins: [
       [react()],// React编译