|
@@ -15,7 +15,8 @@ new Vue({
|
|
|
tel: '',
|
|
|
file: '',
|
|
|
content: '',
|
|
|
- title:''
|
|
|
+ title:'',
|
|
|
+ author:'',
|
|
|
},
|
|
|
parent:{
|
|
|
page: 1,
|
|
@@ -81,6 +82,8 @@ new Vue({
|
|
|
FormDatas.append('file', _this.form.file);
|
|
|
FormDatas.append('uploaderPhone', _this.form.tel)
|
|
|
FormDatas.append('pictureDescription', _this.form.content)
|
|
|
+ FormDatas.append('pictureTitle', _this.form.title)
|
|
|
+ FormDatas.append('pictureAuthor', _this.form.author)
|
|
|
$.ajax({
|
|
|
type: 'post',
|
|
|
url: PATH+ '/yxnn/uploadDocumet',
|
|
@@ -140,7 +143,7 @@ new Vue({
|
|
|
obj.push({
|
|
|
content: arr[i][0],
|
|
|
time: arr[i][1] + '/' + arr[i][2].slice(0, 2),
|
|
|
- // author: '《南岸的创奇事迹》作者:XXX',
|
|
|
+ author: '《'+content[i].pictureTitle+'》作者:'+content[i].pictureAuthor,
|
|
|
img: PATH + '/' + content[i].urlAddress,
|
|
|
synopsis:content[i].pictureDescription
|
|
|
})
|