A窗口
<el-table-column fixed="right" label="操作" width="100">
<template #default="scope">
<span title="详情" @click="tbBtnClick(scope.row, 'details')">
<el-icon> <View></View></el-icon>
</span>
<span title="添加" @click="tbBtnClick(scope.row, 'addData')">
<el-icon> <View></View></el-icon>
</span>
</template>
</el-table-column>
A窗口中的方法
mounted() {
const params = {
pageQuery: {
current: this.paginationParams.currentPage,
size: this.paginationParams.limit,
},
};
this.getApageLists(params);
window["getBpageList"] = (params) => {
this.getApageLists(p