chore [matrix]: 屏蔽置底功能

This commit is contained in:
Huangzhe
2025-03-21 13:54:09 +08:00
parent 852310b286
commit ac0d56b2ce
3 changed files with 27 additions and 27 deletions

View File

@@ -112,10 +112,10 @@ function addShowActionOption() {
const popoverActions = [
{
text: '删除'
},
{
text: '置底'
}
// {
// text: '置底'
// }
];
// popover 的事件
@@ -124,13 +124,13 @@ function handleActionSelect(action: { text: string }, axi: any, type: 'row' | 'c
const index = data.value.indexOf(axi);
if (index < 0) return;
switch (action.text) {
case '删除':
data.value.splice(index, 1);
break;
case '删除':
data.value.splice(index, 1);
break;
case '置底':
data.value.push(data.value.splice(index, 1)[0]);
break;
case '置底':
data.value.push(data.value.splice(index, 1)[0]);
break;
}
}