更改规格字段
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<view class="sales" v-if="goods.skus">库存量{{goods.skus[0].stock}}</view>
|
<view class="sales" v-if="goods.skus">库存量{{goods.skus[0].stock}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="unit" v-if="goods.skus && goods.skus[0].unit !== ''">
|
<view class="unit" v-if="goods.skus && goods.skus[0].unit !== ''">
|
||||||
规格 : {{goods.skus[0].unit}}
|
规格 : {{goods.skus[0].unit_text}}
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 店铺信息 -->
|
<!-- 店铺信息 -->
|
||||||
@@ -77,6 +77,7 @@
|
|||||||
methods:{
|
methods:{
|
||||||
getGoods(){
|
getGoods(){
|
||||||
goods(this.$Route.query.id).then(res => {
|
goods(this.$Route.query.id).then(res => {
|
||||||
|
console.log(res)
|
||||||
this.goods = res
|
this.goods = res
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
6
unpackage/dist/dev/app-plus/app-service.js
vendored
6
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user