来源应用穿梭框左侧实现单选
This commit is contained in:
parent
cc633449ed
commit
4d01131e74
|
@ -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) => {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue