|
@@ -121,13 +121,20 @@
|
|
|
},
|
|
|
methods: {
|
|
|
addParagraph(i){
|
|
|
- this.form.prags.push({
|
|
|
+ this.form.prags.splice(i+1,0,{
|
|
|
title:'',
|
|
|
content:'',
|
|
|
isReason:0,
|
|
|
- orderNo:this.form.prags.length,
|
|
|
+ orderNo:i+1,
|
|
|
position:[],
|
|
|
text:''});
|
|
|
+ /*this.form.prags.push({
|
|
|
+ title:'',
|
|
|
+ content:'',
|
|
|
+ isReason:0,
|
|
|
+ orderNo:this.form.prags.length,
|
|
|
+ position:[],
|
|
|
+ text:''});*/
|
|
|
},
|
|
|
delParagraph(i){
|
|
|
if(this.form.prags.length==1){
|