美文网首页
循环的div绑路由

循环的div绑路由

作者: 布呐呐aa | 来源:发表于2019-06-27 13:28 被阅读0次

methods :{

onSelectItem(itemids){

switch (itemids){

case 's01':

      this.$router.push('/collect')

break

    case 's02':

      this.$router.push('/address')

break

    case 's03':

      this.$router.push('/invoice')

break

    case 's04':

      this.show = true

break

    case 's05':

      this.$router.push('/subscripte')

break

    case 's06':

      this.$router.push('/carts')

break

    case 's07':

      this.$router.push('/integral')

break

    case 's08':

      this.$router.push('/change')

break

  }

}

}

相关文章

网友评论

      本文标题:循环的div绑路由

      本文链接:https://www.haomeiwen.com/subject/zpalcctx.html