|
@@ -1803,6 +1803,7 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
isHasDown(index, item) {
|
|
isHasDown(index, item) {
|
|
|
|
|
+ if (item.level === 1) return false;
|
|
|
let endMore = -1;
|
|
let endMore = -1;
|
|
|
this.editList.forEach((ele, ind) => {
|
|
this.editList.forEach((ele, ind) => {
|
|
|
if (
|
|
if (
|
|
@@ -1816,6 +1817,7 @@ export default {
|
|
|
return endMore !== -1;
|
|
return endMore !== -1;
|
|
|
},
|
|
},
|
|
|
isHasUp(index, item) {
|
|
isHasUp(index, item) {
|
|
|
|
|
+ if (item.level === 1) return false;
|
|
|
let end = -1;
|
|
let end = -1;
|
|
|
this.editList.forEach((ele, ind) => {
|
|
this.editList.forEach((ele, ind) => {
|
|
|
if (
|
|
if (
|