vue路由跳转
发布日期:2021-05-10 10:48:42 浏览次数:13 分类:精选文章

本文共 947 字,大约阅读时间需要 3 分钟。

������������������������������������������������������������������������������������������������������Vue Router���������API������������������������������������������������������������

  • ���������������������������

    • ������������������������������������������������������������������goback������������������������������������
    • ���������������
    goback() {
    this.$router.go(-1); // ���������������
    }
  • ���������������������������������

    • ���������������������/Foo2���������������������������������������������������������
    • ���������������������������������������������������������������������������this.$router.push('/foo2')���this.$router.push({name: 'Foo1'})���������
    • ���������
    ToLink1() {
    this.$router.push('/foo2'); // ������������������������
    // ���������
    this.$router.push({name: 'Foo1'});
    }
  • ���������������������������������������������������������������������������������������������������������������������

    上一篇:正则表达式
    下一篇:mysql查询出数据更新到另一张表

    发表评论

    最新留言

    能坚持,总会有不一样的收获!
    [***.219.124.196]2025年04月10日 03时27分20秒