|
@@ -38,7 +38,6 @@
|
|
|
<span class="vongi-qingjiadt-photo">
|
|
|
<template v-for="(item,index) in picList">
|
|
|
<img :src="item" v-image-preview />
|
|
|
-
|
|
|
</template>
|
|
|
</span>
|
|
|
</div>
|
|
@@ -127,26 +126,24 @@
|
|
|
},
|
|
|
destroyed() {},
|
|
|
computed: {
|
|
|
- computed: {
|
|
|
- picList: {
|
|
|
- // getter
|
|
|
- get: function() {
|
|
|
- if (this.detail && this.detail.imageUrl) {
|
|
|
- return this.detail.imageUrl.split(',');
|
|
|
- } else {
|
|
|
- return [];
|
|
|
- }
|
|
|
- },
|
|
|
- // setter
|
|
|
- set: function(newValue) {
|
|
|
- console.log(newValue)
|
|
|
+ picList: {
|
|
|
+ // getter
|
|
|
+ get: function() {
|
|
|
+ if (this.detail && this.detail.imageUrl) {
|
|
|
+ return this.detail.imageUrl.split(',');
|
|
|
+ } else {
|
|
|
+ return [];
|
|
|
}
|
|
|
},
|
|
|
- ...mapGetters({
|
|
|
- openId: 'wx_openid',
|
|
|
- token: 'token',
|
|
|
- })
|
|
|
- }
|
|
|
+ // setter
|
|
|
+ set: function(newValue) {
|
|
|
+ console.log(newValue)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ ...mapGetters({
|
|
|
+ openId: 'wx_openid',
|
|
|
+ token: 'token',
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
}
|