guhongwei 4 years ago
parent
commit
a4b641a421
3 changed files with 5 additions and 26 deletions
  1. 3 24
      README.md
  2. 1 1
      src/views/index.vue
  3. 1 1
      vue.config.js

+ 3 - 24
README.md

@@ -1,24 +1,3 @@
-# train-dirtea
-
-## Project setup
-```
-npm install
-```
-
-### Compiles and hot-reloads for development
-```
-npm run serve
-```
-
-### Compiles and minifies for production
-```
-npm run build
-```
-
-### Lints and fixes files
-```
-npm run lint
-```
-
-### Customize configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).
+测试用户
+赵燕-班主任
+http://free.liaoningdoupo.com/api/train/authtest?redirect_uri=http://localhost:8200/&type=0&openid=o3ORKt8yN1OHAJWrX1ApOf2vWM5U

+ 1 - 1
src/views/index.vue

@@ -56,8 +56,8 @@ export default {
     };
   },
   created() {
-    this.searchToken();
     if (this.$route.query.token) {
+      this.searchToken();
       this.search();
     }
   },

+ 1 - 1
vue.config.js

@@ -19,7 +19,7 @@ module.exports = {
     });
   },
   devServer: {
-    port: '8001',
+    port: '8200',
     //api地址前缀
     proxy: {
       '/files': {