| | |
| | | data() { |
| | | return { |
| | | tempUploadImg: "", |
| | | tempImg: require("../../assets/nobody.png"), |
| | | selectedIcon: require("../../assets/duihao.png"), |
| | | tempImg: "/images/search/nobody.png", |
| | | selectedIcon: "/images/search/duihao.png", |
| | | bigPhoto: [], |
| | | displayUpload: true, |
| | | clickNum: 0, |
| | |
| | | if (res.data.smImage.length % 3 !== 0) { |
| | | // 用虚拟人像补全整行 |
| | | const length = res.data.smImage.length % 3 |
| | | console.log("看看length的值", length) |
| | | this.unrealSmallPath.length = 0 |
| | | for (var i = 0; i < 3 - length; i++) { |
| | | this.unrealSmallPath.push(this.tempImg) |