优化修改头像提示报错的问题;修改积分时间错误的问题

This commit is contained in:
gaoxs
2020-08-11 15:46:33 +08:00
parent 67d134473c
commit bedfd9113e
4 changed files with 12 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<view class="line1">{{ attr.productSelect.store_name }}</view>
<view class="money font-color-red">
<text class="num">{{ attr.productSelect.price+'' }}</text>
<text class="num">{{ attr.productSelect.price}}</text>
<text class="stock">库存: {{ attr.productSelect.stock }}</text>
</view>
</view>
@ -68,6 +68,11 @@ export default {
mounted: function () {
console.log(this);
},
watch: {
attr(nextAttr) {
console.log(nextAttr);
},
},
methods: {
closeAttr: function () {
this.$emit("changeFun", { action: "changeattr", value: false });