2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
In elementum El-tabulae Elementi Plus, stylum muris cum labens in versu collocans, per CSS effici potest. Proprietas cursoris CSS uti potes ad stylos musivos definiendos. Hic simplex exemplum est;
Primum in Vue component
.el-table .el-table__row:hover {
cursor: pointer; /* 这里可以更改为其他的光标样式,比如 'crosshair', 'help', 'move', 'not-allowed' 等 */
}
Hoc CSS applicabitur ad singulas ordines (el-table__row) in el-tabula tua, et stylus cursoris specificus ostendetur cum murem supra volvitur.
Deinde, fac tabulam tuam el-mensam recte reddit in componendo template:
<template>
<el-table
:data="tableData"
@current-change="handleSelectionChange"
style="width: 100%"
>
<!-- 你的 el-table-column 定义 -->
</el-table>
</template>
<script>
export default {
data() {
return {
tableData: [
// 你的数据数组
]
}
}
methord:{
handleSelectionChange(val) {
this.multipleSelection = val;
console.log(val)
// let api = new ModellingServiceApi()
// await api.deleteNode({sid: this.psssData.id?this.psssData.id:1,nodeId:this.selectNodeData.nodeId })
},
}
}
</script>
Praedicta est tota materia articuli.