浏览代码

删除注释掉的代码:全局返回

Michael Wang 6 年之前
父节点
当前提交
304fc089f0
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/components/MainLayout/MainLayout.vue

+ 0 - 5
src/components/MainLayout/MainLayout.vue

@@ -1,8 +1,6 @@
 <template>
   <div class="main-layout">
     <header class="header qm-primary-text">
-      <!-- <a style="float: left; padding-left: 20px" @click="goBack">
-        <Icon type="ios-arrow-back" />返回</a> -->
       <Poptip v-if="ifShowQr" trigger="hover" width="240">
         <span class="name-arrow">手机端登录(Android)</span>
         <div slot="content">
@@ -101,9 +99,6 @@ export default {
     goChangePwd() {
       this.$router.push("/password");
     },
-    goBack() {
-      window.history.back();
-    },
   },
   computed: {
     ...mapState(["user"]),