Bläddra i källkod

fix small bugs

Michael Wang 6 år sedan
förälder
incheckning
3a285a941d
5 ändrade filer med 9 tillägg och 11 borttagningar
  1. 1 1
      http-test/examee.http
  2. 1 1
      package.json
  3. 1 3
      src/App.vue
  4. 2 2
      src/router/index.js
  5. 4 4
      yarn.lock

+ 1 - 1
http-test/examee.http

@@ -25,7 +25,7 @@ partition_token: {{token}}
 {
 	"courseId": 0,
 	"examId": 0,
-	"partitionId": 0,
+	"partitionId":
 	"primaryId": 0,
 	"secondId": 0,
 	"stageOrder": 0,

+ 1 - 1
package.json

@@ -37,6 +37,6 @@
     "node-sass": "^4.9.0",
     "sass-loader": "^7.0.1",
     "vue-cli-plugin-axios": "0.0.4",
-    "vue-template-compiler": "^2.6.6"
+    "vue-template-compiler": "^2.6.7"
   }
 }

+ 1 - 3
src/App.vue

@@ -3,10 +3,8 @@
     <img src="./assets/logo.png" />
     <div>
       <p>
-        If Element is successfully added to this project, you'll see an
-        <code v-text="'<el-button>'"></code> below
+        App.vue rendered!
       </p>
-      <el-button>el-button</el-button>
     </div>
     <HelloWorld msg="Welcome to Your Vue.js App" />
     <router-view></router-view>

+ 2 - 2
src/router/index.js

@@ -1,6 +1,6 @@
 import Vue from "vue";
 import Router from "vue-router";
-import Home from "./views/Home.vue";
+import Home from "../views/Home.vue";
 
 Vue.use(Router);
 
@@ -30,7 +30,7 @@ let router = new Router({
       // this generates a separate chunk (about.[hash].js) for this route
       // which is lazy-loaded when the route is visited.
       component: () =>
-        import(/* webpackChunkName: "about" */ "./views/About.vue")
+        import(/* webpackChunkName: "about" */ "../views/About.vue")
     }
     // {
     //   path: "/xxx/:id",

+ 4 - 4
yarn.lock

@@ -9827,10 +9827,10 @@ vue-style-loader@^4.1.0:
     hash-sum "^1.0.2"
     loader-utils "^1.0.2"
 
-vue-template-compiler@^2.6.6:
-  version "2.6.6"
-  resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.6.tgz#a807acbf3d51971d3721d75ecb1b927b517c1a02"
-  integrity sha512-OakxDGyrmMQViCjkakQFbDZlG0NibiOzpLauOfyCUVRQc9yPmTqpiz9nF0VeA+dFkXegetw0E5x65BFhhLXO0A==
+vue-template-compiler@^2.6.7:
+  version "2.6.7"
+  resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.7.tgz#7f6c14eacf3c912d28d33b029cde706d9756e00c"
+  integrity sha512-ZjxJLr6Lw2gj6aQGKwBWTxVNNd28/qggIdwvr5ushrUHUvqgbHD0xusOVP2yRxT4pX3wRIJ2LfxjgFT41dEtoQ==
   dependencies:
     de-indent "^1.0.2"
     he "^1.1.0"