马宇豪
2024-03-05 2bc59d909462d305e9c71db0c8d54b70a26c43a4
src/views/login.vue
@@ -18,6 +18,7 @@
          type="password"
          auto-complete="off"
          placeholder="密码"
          show-password
          @keyup.enter.native="handleLogin"
        >
          <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
@@ -55,9 +56,9 @@
      </el-form-item>
    </el-form>
    <!--  底部  -->
    <div class="el-login-footer">
      <span>技术支持:中国科学院</span>
    </div>
<!--    <div class="el-login-footer">-->
<!--      <span>技术支持:中国科学院</span>-->
<!--    </div>-->
  </div>
</template>
@@ -98,8 +99,9 @@
  watch: {
    $route: {
      handler: function(route) {
        // this.redirect = route.query && route.query.redirect;
        this.redirect = '/notCoalMine/nPeopleManage'
        console.log(route,'route')
        this.redirect = route.query && route.query.redirect;
        // this.redirect = '/notCoalMine/nPeopleManage'
      },
      immediate: true
    }