Commit 4cff3665 by Lyan

优化

parent 993c6bcc
......@@ -466,11 +466,11 @@ export default {
method: 'post'
}).then(({data}) => {
if (data && data.code === 0) {
if (!item.directpath || item.directpath === null) {
// if (!item.directpath || item.directpath === null) {
window.open(this.$store.state.config.urls + '/News/msg?id=' + item.id + '&token=' + data.data, '_blank')
} else {
window.open(item.directpath + '&token=' + data.data, '_blank')
}
// } else {
// window.open(item.directpath + '&token=' + data.data, '_blank')
// }
} else {
this.$message.error('获取失败')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment