|
@@ -109,7 +109,7 @@ export default {
|
|
|
spinner: 'el-icon-loading',
|
|
|
background: 'rgba(0, 0, 0, 0.7)'
|
|
|
})
|
|
|
- this.form.parentId = this.onLoad
|
|
|
+ this.form.parentId = this.onLoad.id
|
|
|
this.form.top = this.onLoad.parentId === 0 ? 1 : 0
|
|
|
add(this.form).then(res => {
|
|
|
console.info('res----', res)
|