vue页面中的内部跳转,可以用this.$router.push()实现,但是如果我们还用这种方法跳到外部链接,就回报错,因为我们的外部链接前面加上了http://localhost:8080/#/这一串导致跳转出现问题。改成如下
<template scope
="scope">
<a
:href
="'http://'+ scope.row.show" target
="_blank" style
="text-decoration:none;">{{scope
.row
.show
}}</a
>
</template
>
转载请注明原文地址:https://ipadbbs.8miu.com/read-13841.html