点击事件
<template slot-scope="scope" slot="menu">
<el-button type="text" size="small" @click.native="handleForm(scope.row)">数据展示</el-button>
</template>
触发情况
handleForm(row) {
// 线上服务器
// window.location.href="http://"+window.location.host+"/web/#/details/"+row.id;
//本地服务
window.location.href="http://"+window.location.host+"/#/details/"+row.id;
}