lrf402788946 4 years ago
parent
commit
f11d71983a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/views/class/newClass/homework.vue
  2. 2 2
      vue.config.js

+ 1 - 1
src/views/class/newClass/homework.vue

@@ -2,7 +2,7 @@
   <div id="homework">
     <el-row>
       <el-col :span="24" class="homework">
-        <van-collapse v-model="openCollapse">
+        <van-collapse v-model="openCollapse" accordion>
           <van-collapse-item :name="index" v-for="(item, index) in homeworkList" :key="index">
             <div slot="title" class="title" @click="onsist(item.id)">
               <span class="name">{{ item.name }}</span>

+ 2 - 2
vue.config.js

@@ -23,7 +23,7 @@ module.exports = {
     //api地址前缀
     proxy: {
       '/files': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://jytz.jilinjobs.cn',
         changeOrigin: true,
         ws: true,
       },
@@ -37,7 +37,7 @@ module.exports = {
         ws: true,
       },
       '/api': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://127.0.0.1:2001',
         changeOrigin: true,
         ws: true,
       },