|
@@ -926,7 +926,8 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
} else if (event.ctrlKey && event.keyCode == 88) {
|
|
} else if (event.ctrlKey && event.keyCode == 88) {
|
|
_this.$data.ctrlxstatus = true;
|
|
_this.$data.ctrlxstatus = true;
|
|
- _this.$data.sheetAxis = luckysheet.getRangeAxis();
|
|
|
|
|
|
+ _this.$data.sheetAxis = luckysheet.getRange();
|
|
|
|
+ console.log(luckysheet.getRangeAxis())
|
|
setTimeout(()=> {
|
|
setTimeout(()=> {
|
|
navigator.clipboard.writeText(cellValueFormat(luckysheet.getRangeHtml()))
|
|
navigator.clipboard.writeText(cellValueFormat(luckysheet.getRangeHtml()))
|
|
}, 100)
|
|
}, 100)
|
|
@@ -1010,7 +1011,7 @@ export default {
|
|
rangePasteBefore(r, d) {
|
|
rangePasteBefore(r, d) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
_this.$data.ctrlxstatus = false;
|
|
_this.$data.ctrlxstatus = false;
|
|
- luckysheet.clearRange(_this.$data.sheetAxis)
|
|
|
|
|
|
+ luckysheet.clearRange({range: _this.$data.sheetAxis})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1031,7 +1032,7 @@ export default {
|
|
rangePasteBefore(r, d) {
|
|
rangePasteBefore(r, d) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
_this.$data.ctrlxstatus = false;
|
|
_this.$data.ctrlxstatus = false;
|
|
- luckysheet.clearRange(_this.$data.sheetAxis)
|
|
|
|
|
|
+ luckysheet.clearRange({range: _this.$data.sheetAxis})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1321,7 +1322,7 @@ export default {
|
|
rangePasteBefore(r, d) {
|
|
rangePasteBefore(r, d) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
_this.$data.ctrlxstatus = false;
|
|
_this.$data.ctrlxstatus = false;
|
|
- luckysheet.clearRange(_this.$data.sheetAxis)
|
|
|
|
|
|
+ luckysheet.clearRange({range: _this.$data.sheetAxis})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1374,7 +1375,7 @@ export default {
|
|
rangePasteBefore(r, d) {
|
|
rangePasteBefore(r, d) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
_this.$data.ctrlxstatus = false;
|
|
_this.$data.ctrlxstatus = false;
|
|
- luckysheet.clearRange(_this.$data.sheetAxis)
|
|
|
|
|
|
+ luckysheet.clearRange({range: _this.$data.sheetAxis})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1743,7 +1744,7 @@ export default {
|
|
rangePasteBefore(r, d) {
|
|
rangePasteBefore(r, d) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
_this.$data.ctrlxstatus = false;
|
|
_this.$data.ctrlxstatus = false;
|
|
- luckysheet.clearRange(_this.$data.sheetAxis)
|
|
|
|
|
|
+ luckysheet.clearRange({range: _this.$data.sheetAxis})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -2245,7 +2246,7 @@ export default {
|
|
rangePasteBefore(r, d) {
|
|
rangePasteBefore(r, d) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
if (_this.$data.ctrlxstatus) {
|
|
_this.$data.ctrlxstatus = false;
|
|
_this.$data.ctrlxstatus = false;
|
|
- luckysheet.clearRange(_this.$data.sheetAxis)
|
|
|
|
|
|
+ luckysheet.clearRange({range: _this.$data.sheetAxis})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|