Bladeren bron

解决一些莫名其妙的BUG

wukai 1 jaar geleden
bovenliggende
commit
6cea0bbf22

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 档案管理系统
+VUE_APP_TITLE = 文库系统
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 档案管理系统
+VUE_APP_TITLE = 文库系统
 
 # 生产环境配置
 ENV = 'production'

+ 2 - 2
src/layout/components/Navbar.vue

@@ -6,7 +6,7 @@
     <top-nav id="topmenu-container" class="topmenu-container" v-if="topNav"/>
 
     <div class="right-menu">
-      <template v-if="device!=='mobile'">
+      <!-- <template v-if="device!=='mobile'">
         <search id="header-search" class="right-menu-item" />
         
         <el-tooltip content="源码地址" effect="dark" placement="bottom">
@@ -23,7 +23,7 @@
           <size-select id="size-select" class="right-menu-item hover-effect" />
         </el-tooltip>
 
-      </template>
+      </template> -->
 
       <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
         <div class="avatar-wrapper">

+ 2 - 2
src/layout/components/Sidebar/Logo.vue

@@ -35,8 +35,8 @@ export default {
   },
   data() {
     return {
-      title: '档案管理系统',
-      logo: logoImg
+      title: '文库系统',
+      logo: ''
     }
   }
 }

+ 6 - 3
src/views/doc/info/index.vue

@@ -67,8 +67,11 @@
                 v-if="checkLevel(scope.row,'download')">下载</el-button>
               <el-button size="mini" type="text" icon="el-icon-view" @click="handlePreview(scope.row)">预览</el-button>
               <el-button size="mini" type="text" icon="el-icon-view" @click="handleEdit(scope.row)">在线编辑</el-button>
-              <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-                v-hasPermi="['doc:info:edit']">修改</el-button>
+             <!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
+                v-hasPermi="['doc:info:edit']">修改</el-button> -->
+                <router-link :to="'/onlyoffice/' + scope.row.docId" class="link-type">
+                   <span>修改</span>
+                </router-link>
               <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
                 v-hasPermi="['doc:info:remove']">删除</el-button>
             </template>
@@ -249,7 +252,7 @@
       //在线编辑
       handleEdit(row) {
         row.isEdit = true;
-        this.$tab.openPage("文件[" + row.docName + "]在线编辑", '/doc/oo-edit/index/' + row.docId, row);
+        this.$tab.openPage("文件[" + row.docName + "]在线编辑", '/onlyoffice/index/' + row.docId, row);
       },
       //先获取左边目录树,拿到目录ID和spaceId才能查询
       dirTree() {

+ 4 - 4
src/views/doc/oo/onlyoffice.vue

@@ -60,7 +60,7 @@
               print: false, //是否可以打印
               download: false, //是否可以下载
               // "fillForms": true,//是否可以填写表格,如果将mode参数设置为edit,则填写表单仅对文档编辑器可用。 默认值与edit或review参数的值一致。
-              // "review": true //跟踪变化
+              "review": true //跟踪变化
             },
             url: option.url,
           },
@@ -71,8 +71,8 @@
             //定制
             customization: {
               autosave: false, //是否自动保存
-              chat: false,
-              comments: false,
+              chat: true,
+              comments: true,
               help: false,
               // "hideRightMenu": false,//定义在第一次加载时是显示还是隐藏右侧菜单。 默认值为false
               //是否显示插件
@@ -90,7 +90,7 @@
             // 定义共享编辑模式(快速fast/严格strict), change为控制是否允许修改
             coEditing: {
               mode: 'fast',
-              change: false
+              change: true
             }
           },
           width: '100%',

+ 17 - 6
src/views1/File/Individual/IndividualView.vue

@@ -101,7 +101,7 @@
         <!-- 添加或修改文件基本信息对话框 -->
         <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body custom-class="el-dialog5">
           <el-form ref="form" :model="form" :rules="rules" label-width="80px">
-            <el-form-item label="" prop="docPath">
+            <el-form-item label="文件路径" prop="docPath">
               <!-- <el-input v-model="form.docPath" placeholder="请输入文件路径" /> -->
               <file-upload :residueNum="residueNum" v-model="form.docPath" />
             </el-form-item>
@@ -137,7 +137,7 @@
             </el-form-item>
           </el-form>
           <div slot="footer" class="dialog-footer">
-            <el-button type="primary" @click="submitForm">确 定</el-button>
+            <el-button type="primary" @click="submitForm" :disabled="form.submitDisabled">确 定</el-button>
             <el-button @click="cancel">取 消</el-button>
           </div>
         </el-dialog>
@@ -273,7 +273,9 @@
           },
         },
         // 表单参数
-        form: {},
+        form: {
+          submitDisabled: false
+        },
         defaultProps: {
           children: "children",
           label: "dirName",
@@ -281,11 +283,16 @@
         },
         // 表单校验
         rules: {
+          docPath: [{
+            required: true,
+            message: "请上传文件",
+            trigger: "blur",
+          }],
           docName: [{
             required: true,
             message: "文件名称不能为空",
             trigger: "blur",
-          }, ],
+          }],
           dirId: [{
             required: true,
             message: "文件目录不能为空",
@@ -295,7 +302,7 @@
             required: true,
             message: "文件级别不能为空",
             trigger: "blur",
-          }, ],
+          }],
         },
       };
 
@@ -599,6 +606,7 @@
           remark: null,
           isDel: null,
           searchValue: this.spaceId,
+          submitDisabled: false,
           tagList: [],
         };
         this.resetForm("form");
@@ -657,6 +665,8 @@
       /** 提交按钮 */
       submitForm() {
         this.$refs["form"].validate((valid) => {
+
+          this.form.submitDisabled = true;
           if (valid) {
             if (this.form.docId != null) {
               updateInfo(this.form).then((response) => {
@@ -672,6 +682,7 @@
               });
             }
           }
+          this.form.submitDisabled = false;
         });
 
         // console.log(this.dynamicTags.length);
@@ -1067,4 +1078,4 @@
       vertical-align: bottom;
     }
   }
-</style>
+</style>

+ 312 - 309
src/views1/Retrieval/RetrievalView.vue

@@ -9,29 +9,20 @@
         <el-option value="2" label="部门文档">部门文档</el-option>
         <el-option value="3" label="个人文档">个人文档</el-option>
       </el-select> -->
-      <el-input
-        auto-complete="on"
-        type="text"
-        name="content"
-        placeholder="请输入查询关键字"
-        v-model="input"
-        @keyup.enter.native="searchPre"
-      ></el-input>
+      <el-input auto-complete="on" type="text" name="content" placeholder="请输入查询关键字" v-model="input"
+        @keyup.enter.native="searchPre"></el-input>
       <span class="cen—top-span" @click="searchPre">快速搜索</span>
-      <img
-        src="../../assets/img/ri:search-2-line@2x.png"
-        class="cen—top-img"
-      />
+      <img src="../../assets/img/ri:search-2-line@2x.png" class="cen—top-img" />
     </div>
 
     <div class="main1">
       <div class="range">
         <p class="range-p">文档范围:</p>
         <el-radio-group v-model="type" size="small" class="range-ul" fill="#2E8AECFF" text-color="#fff">
-      <el-radio-button label="1">公共文档</el-radio-button>
-      <el-radio-button label="2">部门文档</el-radio-button>
-      <el-radio-button label="3">个人文档</el-radio-button>
-    </el-radio-group>
+          <el-radio-button label="1">公共文档</el-radio-button>
+          <el-radio-button label="2">部门文档</el-radio-button>
+          <el-radio-button label="3">个人文档</el-radio-button>
+        </el-radio-group>
       </div>
       <!-- <div class="category">
         <p class="range-p">文档分类:</p>
@@ -75,13 +66,8 @@
             {{ item.content.info.createTime }}
           </div>
         </div>
-        <div
-          class="three"
-          v-for="highlightFieldsContentItem in item.highlightFields.content"
-          :key="highlightFieldsContentItem.id"
-          v-html="highlightFieldsContentItem"
-          style="white-space: normal"
-        ></div>
+        <div class="three" v-for="highlightFieldsContentItem in item.highlightFields.content"
+          :key="highlightFieldsContentItem.id" v-html="highlightFieldsContentItem" style="white-space: normal"></div>
         <ul class="four">
           <li v-for="tagName in item.content.info.tagList" :key="tagName.id">
             {{ tagName.tagName }}
@@ -101,322 +87,339 @@
 </template>
 
 <script>
-import { ret } from "@/api/doc/share1.js";
-
-export default {
-  data() {
-    return {
-      //搜索框绑定
-      input: "",
-      type: "",
-      //搜索出来的数据
-      count: [],
-      page: 0,
-      size: 3,
-      mains_data: false,
-      mains_data2: false,
-      checkList: [],
-      value1: "",
-    };
-  },
-  created() {
-    this.input = this.$route.query.datas;
-
-    if (this.input) {
-      this.type = this.$route.query.data2;
-      this.searchs();
-    }else{
-      this.type="1"
-    }
-  },
-  watch: {
-    $route: {
-      handler(val, oldval) {
-        this.input = this.$route.query.datas;
-        this.count = [];
-        if (this.input != "") {
-          this.searchs();
-        } else {
-          this.mains_data = true;
-          this.mains_data2 = false;
-        }
-      },
-      // 深度观察监听
-      deep: true,
-    },
-  },
-  mounted() {
-    //添加滚动条事件
-    window.addEventListener("scroll", this.handleScroll, true);
-  },
-  methods: {
-    // 点击搜索调用的方法
-    searchPre() {
-      this.$router.push({
-        path: "/home/retrieval",
-        query: { datas: this.input, data2: this.type },
-      });
+  import {
+    ret
+  } from "@/api/doc/share1.js";
+
+  export default {
+    data() {
+      return {
+        //搜索框绑定
+        input: "",
+        type: "",
+        //搜索出来的数据
+        count: [],
+        page: 0,
+        size: 3,
+        mains_data: false,
+        mains_data2: false,
+        checkList: [],
+        value1: "",
+      };
     },
-    handleScroll() {
-      const container = document.querySelector(".mains");
-      const { scrollTop, scrollHeight, clientHeight } = container;
-      // console.log('scrollHeight',scrollHeight);
-      // console.log('clientHeight',clientHeight);
-      // console.log(scrollTop);
-      // 是否达到页面底部
-      if (scrollTop + clientHeight >= scrollHeight) {
-        // console.log('滚动到底部了!')
-        this.page += 1;
-        // 执行加载
+    created() {
+      this.input = this.$route.query.datas;
+      if (this.input) {
+        this.type = this.$route.query.data2;
         this.searchs();
+      } else {
+        this.type = "1"
       }
     },
-
-    //查找返回的数据
-    searchs() {
-      ret({
-        content: this.input,
-        type: this.type,
-        page: this.page,
-        size: this.size,
-      }).then((item) => {
-        // console.log('item=',item)
-        if (item.length > 0) {
-          this.count.push(...item);
-          this.mains_data = false;
-          this.mains_data2 = true;
-        } else {
-          this.input = "";
-          this.mains_data = true;
-          this.mains_data2 = false;
-        }
-      });
+    watch: {
+      $route: {
+        handler(val, oldval) {
+          this.input = this.$route.query.datas;
+          this.count = [];
+          if (this.input) {
+            this.searchs();
+          } else {
+            this.mains_data = true;
+            this.mains_data2 = false;
+          }
+        },
+        // 深度观察监听
+        deep: true,
+      },
     },
-    //预览界面
-    docName(curentDocId, value) {
-      // this.$tab.openPage(
-      //   window.open('/individual/Pre/user/' + row.docId + "?row=" + JSON.stringify(row),
-      //     '_blank'),
-      //   // window.open("/individual/Pre/user/" + row.docId +"/title/"+ row.docName, '_blank'),
-      // );
-      this.$tab.openPage(
-        // window.open("/individual/Pre/user/" + curentDocId, "_blank"),
-        window.open(
-          "/individual/Pre/user/" +
+    mounted() {
+      //添加滚动条事件
+      window.addEventListener("scroll", this.handleScroll, true);
+    },
+    methods: {
+      // 点击搜索调用的方法
+      searchPre() {
+        // this.searchs()
+
+        this.$router.push({
+          path: "/home/retrieval",
+          query: {
+            datas: this.input,
+            data2: this.type
+          },
+        });
+      },
+      handleScroll() {
+        const container = document.querySelector(".mains");
+        const {
+          scrollTop,
+          scrollHeight,
+          clientHeight
+        } = container;
+        // console.log('scrollHeight',scrollHeight);
+        // console.log('clientHeight',clientHeight);
+        // console.log(scrollTop);
+        // 是否达到页面底部
+        if (scrollTop + clientHeight >= scrollHeight) {
+          // console.log('滚动到底部了!')
+          this.page += 1;
+          // 执行加载
+          this.searchs();
+        }
+      },
+
+      //查找返回的数据
+      searchs() {
+        ret({
+          content: this.input,
+          type: this.type,
+          page: this.page,
+          size: this.size,
+        }).then((item) => {
+          // console.log('item=',item)
+          if (item.length > 0) {
+            this.count.push(...item);
+            this.mains_data = false;
+            this.mains_data2 = true;
+          } else {
+            // this.input = "";
+            this.mains_data = true;
+            this.mains_data2 = false;
+          }
+        });
+      },
+      //预览界面
+      docName(curentDocId, value) {
+        // this.$tab.openPage(
+        //   window.open('/individual/Pre/user/' + row.docId + "?row=" + JSON.stringify(row),
+        //     '_blank'),
+        //   // window.open("/individual/Pre/user/" + row.docId +"/title/"+ row.docName, '_blank'),
+        // );
+        // this.$tab.openPage(
+          // window.open("/individual/Pre/user/" + curentDocId, "_blank"),
+          window.open(
+            "/individual/Pre/user/" +
             curentDocId +
             "?row=" +
             JSON.stringify(value),
-          "_blank"
-        )
-      );
+            "_blank"
+          )
+        // );
+      },
     },
-  },
-};
+  };
 </script>
 <style lang='scss'>
-.three {
-  margin-bottom: calc(100vw * (10 / 1920));
+  .three {
+    margin-bottom: calc(100vw * (10 / 1920));
 
-  em {
-    color: #f00 !important;
+    em {
+      color: #f00 !important;
+    }
   }
-}
 </style>
 <style scoped lang='scss'>
-.containe {
-  color: #7ea4c8;
-  font-size: 0.14rem;
-  font-family: PingFang SC-Medium, PingFang SC;
-  font-weight: 500;
-}
-
-.picture {
-  width: calc(100vw * (220 / 1920));
-  height: calc(100vh * (57 / 1080));
-  margin-left: calc(100vw * (860 / 1920));
-  margin-top: calc(100vh * (100 / 1080));
-  margin-bottom: calc(100vh * (40 / 1080));
-
-  img {
-    width: 100%;
-    height: 100%;
-    display: block;
+  .containe {
+    color: #7ea4c8;
+    font-size: 0.14rem;
+    font-family: PingFang SC-Medium, PingFang SC;
+    font-weight: 500;
   }
-}
-
-.search {
-  width: calc(100vw * (864 / 1920));
-  height: calc(100vh * (50 / 1080));
-  margin-left: calc(100vw * (528 / 1920));
-  margin-bottom: calc(100vh * (50 / 1080));
-  position: relative;
-  // background: salmon;
-}
-
-.main1 {
-  width: calc(100vw * (1100 / 1920));
-  height: calc(100vh * (100 / 1080));
-  // background: seagreen;
-  margin-left: calc(100vw * (528 / 1920));
-  margin-bottom: calc(100vh * (20 / 1080));
-  .range,
-  .category {
-    width: calc(100vw * (480 / 1920));
-    height: calc(100vh * (36 / 1080));
-    // margin-left: calc(100vw * (528 / 1920));
-    margin-bottom: calc(100vh * (30 / 1080));
-    line-height: calc(100vh * (36 / 1080));
-    display: flex;
-    .range-ul {
+
+  .picture {
+    width: calc(100vw * (220 / 1920));
+    height: calc(100vh * (57 / 1080));
+    margin-left: calc(100vw * (860 / 1920));
+    margin-top: calc(100vh * (100 / 1080));
+    margin-bottom: calc(100vh * (40 / 1080));
+
+    img {
+      width: 100%;
+      height: 100%;
+      display: block;
+    }
+  }
+
+  .search {
+    width: calc(100vw * (864 / 1920));
+    height: calc(100vh * (50 / 1080));
+    margin-left: calc(100vw * (528 / 1920));
+    margin-bottom: calc(100vh * (50 / 1080));
+    position: relative;
+    // background: salmon;
+  }
+
+  .main1 {
+    width: calc(100vw * (1100 / 1920));
+    height: calc(100vh * (100 / 1080));
+    // background: seagreen;
+    margin-left: calc(100vw * (528 / 1920));
+    margin-bottom: calc(100vh * (20 / 1080));
+
+    .range,
+    .category {
+      width: calc(100vw * (480 / 1920));
+      height: calc(100vh * (36 / 1080));
+      // margin-left: calc(100vw * (528 / 1920));
+      margin-bottom: calc(100vh * (30 / 1080));
+      line-height: calc(100vh * (36 / 1080));
+      display: flex;
+
+      .range-ul {
+        display: flex;
+        list-style: none;
+        padding: 0;
+
+        ::v-deep .el-radio-button__inner {
+
+          background: transparent;
+          color: #7EA4C8FF;
+          border: none;
+        }
+      }
+    }
+
+    .time {
+      width: calc(100vw * (1333 / 1920));
+      height: calc(100vh * (36 / 1080));
+      // margin-left: calc(100vw * (528 / 1920));
       display: flex;
-      list-style: none;
-      padding: 0;
-     ::v-deep .el-radio-button__inner {
+      align-items: center;
 
-      background: transparent;
-      color: #7EA4C8FF;
-      border: none;
+      .el-checkbox-group {
+        .el-checkbox {
+          margin-right: calc(100vw * (40 / 1920));
+        }
+
+        .el-date-picker {
+          height: calc(100vh * (36 / 1080));
+        }
       }
     }
   }
-  .time {
-    width: calc(100vw * (1333 / 1920));
-    height: calc(100vh * (36 / 1080));
-    // margin-left: calc(100vw * (528 / 1920));
+
+  .cen—top-img {
+    width: calc(100vw * (24 / 1920));
+    height: calc(100vh * (24 / 1080));
+    position: absolute;
+    left: calc(100vw * (15 / 1920));
+    top: calc(100vh * (15 / 1080));
+  }
+
+  .el-input {
+    width: calc(100vw * (750 / 1920));
+    height: calc(100vh * (50 / 1080));
+    margin-right: calc(100vw * (14 / 1920));
+  }
+
+  .cen—top-span {
+    display: inline-block;
+    width: calc(100vw * (100 / 1920));
+    height: calc(100vh * (50 / 1080));
+    background: #2e8aecff;
+    color: #ffffffcc;
+    text-align: center;
+    line-height: calc(100vh * (50 / 1080));
+
+    &:hover {
+      cursor: pointer;
+    }
+  }
+
+  .mains {
+    width: calc(100vw * (1450 / 1920));
+    height: calc(100vh * (500 / 1080));
+    // background: seagreen;
+    margin-left: calc(100vw * (300 / 1920));
+    overflow: auto;
+  }
+
+  .mains_prompt {
     display: flex;
     align-items: center;
-    .el-checkbox-group {
-      .el-checkbox {
-        margin-right: calc(100vw * (40 / 1920));
-      }
-      .el-date-picker {
-        height: calc(100vh * (36 / 1080));
-      }
+    margin-left: calc(100vw * (900 / 1920));
+    margin-top: calc(100vh * (20 / 1080));
+  }
+
+  .empty {
+    width: 100%;
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    align-items: center;
+
+    img {
+      width: calc(100vw * (160 / 1920));
+      height: calc(100vh * (160 / 1080));
+      margin-top: calc(100vh * (150 / 1080));
     }
   }
-}
-
-.cen—top-img {
-  width: calc(100vw * (24 / 1920));
-  height: calc(100vh * (24 / 1080));
-  position: absolute;
-  left: calc(100vw * (15 / 1920));
-  top: calc(100vh * (15 / 1080));
-}
-
-.el-input {
-  width: calc(100vw * (750 / 1920));
-  height: calc(100vh * (50 / 1080));
-  margin-right: calc(100vw * (14 / 1920));
-}
-
-.cen—top-span {
-  display: inline-block;
-  width: calc(100vw * (100 / 1920));
-  height: calc(100vh * (50 / 1080));
-  background: #2e8aecff;
-  color: #ffffffcc;
-  text-align: center;
-  line-height: calc(100vh * (50 / 1080));
-
-  &:hover {
+
+  .main-main {
+    width: calc(100vw * (1430 / 1920));
+    // height: calc(100vh * (220 / 1080));
+    padding: calc(100vh * (20 / 1080));
+    border-bottom: 1px dashed #083b61ff;
+  }
+
+  .one {
+    margin-bottom: calc(100vw * (10 / 1920));
+    color: #2e8aecff;
+    font-size: 14px;
+    text-decoration: underline;
     cursor: pointer;
   }
-}
-
-.mains {
-  width: calc(100vw * (1450 / 1920));
-  height: calc(100vh * (500 / 1080));
-  // background: seagreen;
-  margin-left: calc(100vw * (300 / 1920));
-  overflow: auto;
-}
-
-.mains_prompt {
-  display: flex;
-  align-items: center;
-  margin-left: calc(100vw * (900 / 1920));
-  margin-top: calc(100vh * (20 / 1080));
-}
-
-.empty {
-  width: 100%;
-  display: flex;
-  flex-direction: column;
-  justify-content: center;
-  align-items: center;
-
-  img {
-    width: calc(100vw * (160 / 1920));
-    height: calc(100vh * (160 / 1080));
-    margin-top: calc(100vh * (150 / 1080));
+
+  .two {
+    margin-bottom: calc(100vh * (10 / 1080));
+    display: flex;
+
+    .two1 {
+      margin-right: calc(100vw * (30 / 1920));
+    }
+
+    img {
+      vertical-align: middle;
+    }
+  }
+
+  .four {
+    display: flex;
+    list-style: none;
+    padding: 0;
+
+    li {
+      //  width: calc(100vw * (62 / 1920));
+      //  height: calc(100vh * (24 / 1080));
+      border: 1px solid #ff9839ff;
+      background: #bba99240;
+      padding: 0 5px;
+      margin-right: calc(100vw * (5 / 1920));
+    }
   }
-}
-
-.main-main {
-  width: calc(100vw * (1430 / 1920));
-  // height: calc(100vh * (220 / 1080));
-  padding: calc(100vh * (20 / 1080));
-  border-bottom: 1px dashed #083b61ff;
-}
-
-.one {
-  margin-bottom: calc(100vw * (10 / 1920));
-  color: #2e8aecff;
-  font-size: 14px;
-  text-decoration: underline;
-}
-
-.two {
-  margin-bottom: calc(100vh * (10 / 1080));
-  display: flex;
-
-  .two1 {
-    margin-right: calc(100vw * (30 / 1920));
+
+  //滚动条样式
+  ::-webkit-scrollbar {
+    width: 3.5px;
   }
 
-  img {
-    vertical-align: middle;
+  ::-webkit-scrollbar-track {
+    background-color: rgba(0, 0, 0, 0);
   }
-}
-
-.four {
-  display: flex;
-  list-style: none;
-  padding: 0;
-
-  li {
-    //  width: calc(100vw * (62 / 1920));
-    //  height: calc(100vh * (24 / 1080));
-    border: 1px solid #ff9839ff;
-    background: #bba99240;
-    padding: 0 5px;
-    margin-right: calc(100vw * (5 / 1920));
+
+  ::-webkit-scrollbar-thumb {
+    background: #2e8aec;
+    border-radius: 3px;
+  }
+
+  ::-webkit-scrollbar-thumb:hover {
+    background: #2e8aec;
+  }
+
+  ::v-deep .el-input--medium .el-input__inner {
+    padding-left: calc(100vw * (50 / 1920));
+    background: #14265e80;
+    border: 1px solid #01d1ffff;
+    color: #7ea4c8ff;
   }
-}
-
-//滚动条样式
-::-webkit-scrollbar {
-  width: 3.5px;
-}
-
-::-webkit-scrollbar-track {
-  background-color: rgba(0, 0, 0, 0);
-}
-
-::-webkit-scrollbar-thumb {
-  background: #2e8aec;
-  border-radius: 3px;
-}
-
-::-webkit-scrollbar-thumb:hover {
-  background: #2e8aec;
-}
-
-::v-deep .el-input--medium .el-input__inner {
-  padding-left: calc(100vw * (50 / 1920));
-  background: #14265e80;
-  border: 1px solid #01d1ffff;
-  color: #7ea4c8ff;
-}
 </style>

+ 1 - 1
vue.config.js

@@ -36,7 +36,7 @@ module.exports = {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         // target: `http://192.168.188.99:8080`,
-        target: 'http://localhost:8080',
+        target: 'http://192.168.188.188:8080',
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''