Michael Wang 6 жил өмнө
parent
commit
80da67dcf8

+ 1 - 0
src/features/Login/Login.vue

@@ -57,6 +57,7 @@ import { mapMutations } from "vuex";
  * 因为在/login里会删除localStorage的token,而在router.beforeEach会检查是否有token,达到退出的目的。
  */
 export default {
+  name: "Login",
   data() {
     return {
       logoPath: "/api/ecs_core/org/logo?domain=" + this.$route.params.domain,

+ 1 - 0
src/features/OnlineExam/Examing/ExamingEnd.vue

@@ -36,6 +36,7 @@ import { createNamespacedHelpers } from "vuex";
 const { mapMutations } = createNamespacedHelpers("examingHomeModule");
 
 export default {
+  name: "ExamingEnd",
   data() {
     return {
       exam: null,

+ 1 - 1
tests/vue/child.vue

@@ -9,7 +9,7 @@
 
 <script>
 export default {
-  name: "child",
+  name: "Child",
   props: {
     passToChild: String
   },

+ 1 - 0
tests/vue/event.vue

@@ -27,6 +27,7 @@
 <script>
 import Child from "./child";
 export default {
+  name: "Event",
   data() {
     return {
       name: "michael",