Commit b8892799 by liimin

refactor(订单组件): 移除未使用的hasUserInfo属性

清理订单相关组件中不再需要的hasUserInfo属性,简化组件接口
1 parent f6ccb8ac
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
共{{item.___qty}}件,实付款 共{{item.___qty}}件,实付款
<text class="price">{{item.___totalPrice||'--'}}积分</text> <text class="price">{{item.___totalPrice||'--'}}积分</text>
</view> </view>
<order-action-buttons order="{{item}}" has-user-info="{{hasUserInfo}}" bindonRendered="onRendered" /> <order-action-buttons order="{{item}}" bindonRendered="onRendered" />
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -12,11 +12,7 @@ Component({ ...@@ -12,11 +12,7 @@ Component({
observer: function () { observer: function () {
this.updateButtons(); this.updateButtons();
} }
}, }
hasUserInfo: {
type: Boolean,
value: false,
},
}, },
/** /**
......
...@@ -16,10 +16,6 @@ Component({ ...@@ -16,10 +16,6 @@ Component({
type: Object, type: Object,
value: {}, value: {},
}, },
hasUserInfo: {
type: Boolean,
value: false,
},
}, },
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!