来源应用穿梭框左侧实现单选

This commit is contained in:
gaoyuanwei 2022-07-19 11:26:18 +08:00
parent cc633449ed
commit 4d01131e74
2 changed files with 6 additions and 3 deletions

View File

@ -726,6 +726,9 @@
const handleSelectChange = (sourceSelectedKeys, targetSelectedKeys) => { const handleSelectChange = (sourceSelectedKeys, targetSelectedKeys) => {
console.log('targetSelectedKeys: ', targetSelectedKeys, sourceSelectedKeys) console.log('targetSelectedKeys: ', targetSelectedKeys, sourceSelectedKeys)
//
selectedKeys.value = [sourceSelectedKeys[sourceSelectedKeys.length - 1]]
console.log('after', sourceSelectedKeys)
} }
const handleOk = (e) => { const handleOk = (e) => {

View File

@ -367,12 +367,12 @@
p { p {
// width: 1.60rem; // width: 1.60rem;
height: 0.2rem; height: 0.2rem;
margin-right: 0.15rem;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
// overflow: hidden;
white-space: nowrap;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-right: 0.15rem;
word-break: break-all; word-break: break-all;
span { span {