|
@@ -191,7 +191,6 @@ export default {
|
|
|
)
|
|
|
.then((res) => {
|
|
|
if (res && res.data.length !== 0) {
|
|
|
- res.data.shift();
|
|
|
this.articleChildClassArr = res.data;
|
|
|
this.articleChildClass = this.articleChildClassArr[0];
|
|
|
this.form.setFieldsValue({
|
|
@@ -272,7 +271,7 @@ export default {
|
|
|
type: 'ARTICLE',
|
|
|
contents: that.content,
|
|
|
tages: [that.learnDate],
|
|
|
- engineerTypes: [that.engineerType],
|
|
|
+ engineerTypes: [that.engineerType.id],
|
|
|
links: [],
|
|
|
};
|
|
|
that.$_http
|