This commit is contained in:
linfso 2024-10-09 13:09:07 +08:00
parent 905abef5eb
commit e9b23a3ae8

View File

@ -899,7 +899,7 @@ export default {
if(currentRow!=-1 && currentRow!=item.row){ if(currentRow!=-1 && currentRow!=item.row){
// 去除末尾的\t // 去除末尾的\t
selStr=this.trimTabChar(selStr,'\t',''); selStr=this.trimTabChar(selStr,'\t','');
selStr=selStr.trim(); // selStr=selStr.trim();
selStr=selStr+"\n"; selStr=selStr+"\n";
} }
@ -915,9 +915,6 @@ export default {
selStr=this.trimTabChar(selStr,'\t',''); selStr=this.trimTabChar(selStr,'\t','');
// // console.log("=selStr==>",selStr); // // console.log("=selStr==>",selStr);
// 去除两端空格
// selStr=selStr.trim();
this.currentSelectStr=selStr; this.currentSelectStr=selStr;
} }