|
|
@ -705,15 +705,15 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 置顶
|
|
|
|
// 置顶
|
|
|
|
istopLayer() {
|
|
|
|
istopLayer() {
|
|
|
|
if (this.rightClickIndex != 0) {
|
|
|
|
if (this.rightClickIndex + 1 < this.widgets.length) {
|
|
|
|
this.widgets.unshift(this.widgets.splice(this.rightClickIndex, 1)[0]);
|
|
|
|
const temp = this.widgets.splice(this.rightClickIndex, 1)[0];
|
|
|
|
|
|
|
|
this.widgets.push(temp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 置底
|
|
|
|
// 置底
|
|
|
|
setlowLayer() {
|
|
|
|
setlowLayer() {
|
|
|
|
if (this.rightClickIndex + 1 < this.widgets.length) {
|
|
|
|
if (this.rightClickIndex != 0) {
|
|
|
|
const temp = this.widgets.splice(this.rightClickIndex, 1)[0];
|
|
|
|
this.widgets.unshift(this.widgets.splice(this.rightClickIndex, 1)[0]);
|
|
|
|
this.widgets.push(temp);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 上移一层
|
|
|
|
// 上移一层
|
|
|
|