@@ -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,
@@ -36,6 +36,7 @@ import { createNamespacedHelpers } from "vuex";
const { mapMutations } = createNamespacedHelpers("examingHomeModule");
+ name: "ExamingEnd",
exam: null,
@@ -9,7 +9,7 @@
<script>
- name: "child",
+ name: "Child",
props: {
passToChild: String
},
@@ -27,6 +27,7 @@
import Child from "./child";
+ name: "Event",
name: "michael",