scorpio 2 سال پیش
والد
کامیت
fcb4fcfad8
2فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 5 5
      src/views/task/component/task.vue
  2. 2 2
      vite.config.js

+ 5 - 5
src/views/task/component/task.vue

@@ -116,7 +116,7 @@
             <div class="title mr-10"></div>
             <div>
               <div v-for="item in fileList" :key="item.id">
-                <div class="flex flex-center">
+                <div class="flex flex-center flex-justify-start">
                   {{ item.title }}
                   <preview :id="item.fileId" :show-action="true" />
                 </div>
@@ -229,8 +229,8 @@ export default {
       isMove: false,
       form: {
         title: '',
-        taskStatus: -1,
-        level: -1,
+        taskStatus: 1,
+        level: 1,
         remark: '',
         startTime: '',
         endTime: '',
@@ -440,8 +440,8 @@ export default {
     close() {
       this.form = {
         title: '',
-        taskStatus: -1,
-        level: -1,
+        taskStatus: 1,
+        level: 1,
         remark: '',
         startTime: '',
         endTime: '',

+ 2 - 2
vite.config.js

@@ -57,8 +57,8 @@ export default defineConfig({
     proxy: {
       '/api': {
         // 正式环境地址
-        target: 'https://dev.wutongresearch.club/api',
-        // target: 'https://prod.wutongshucloud.com/api',
+        // target: 'https://dev.wutongresearch.club/api',
+        target: 'https://prod.wutongshucloud.com/api',
         // target: 'http://192.168.31.181:8110',
         changeOrigin: true,
         rewrite: path => path.replace(/^\/api/, '')