在vue组件用template的地方, 有时候想调用js里的this, 以使用它的一些功能. 一直没用找到.
<el-table-column
prop="pdbz"
show-overflow-tooltip
label="盘点备注">
<template slot-scope="scope">
<span @click="scope._self.$message(scope.row.pdbz)">查看</span>
</template>
</el-table-column>