Commit 98d75095 authored by 万成波's avatar 万成波

优化代码

parent 6675f7fb
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
return; return;
} }
this.userInfo = JSON.parse(JSON.parse(getUserInfo())) this.userInfo = JSON.parse(JSON.parse(getUserInfo()))
this.form.faceImg = generateSignature(this.userInfo.userName) this.form.faceImg = generateSignature(this.form.userName)
console.log(this.form.faceImg) console.log(this.form.faceImg)
this.preNodes = this.formatContent(val) this.preNodes = this.formatContent(val)
} }
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
preview(list, index) { preview(list, index) {
console.log(list, index) console.log(list, index)
let urls = list.map((item) => { let urls = list.map((item) => {
return item.imageUrl; return item.url;
}) })
if (urls.length > 0) { if (urls.length > 0) {
uni.previewImage({ uni.previewImage({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment