<el-button type="test" @click="wordDetail">点击查看简历详情</el-button>
methods: {
wordDetail() {
// 微软提供的方法
window.open(‘https://view.officeapps.live.com/op/view.aspx?src=’ + 文件地址)
}
}
<el-button type="test" @click="wordDetail">点击查看简历详情</el-button>
methods: {
wordDetail() {
// 微软提供的方法
window.open(‘https://view.officeapps.live.com/op/view.aspx?src=’ + 文件地址)
}
}