Skip to content

Commit

Permalink
规范address_add与address_edit组件中input写法,以防止编译代码时警告
Browse files Browse the repository at this point in the history
  • Loading branch information
pws019 committed Mar 31, 2018
1 parent b2ee254 commit ce4ffb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/address_add.wpy
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
<view class="list_item">
<view class="title">收货人姓名:</view>
<view class="input">
<input type="text" name="receiverName" value="">
<input type="text" name="receiverName" value="" />
</view>
</view>
<view class="list_item">
<view class="title">联系电话:</view>
<view class="input">
<input type="text" name="mobile">
<input type="text" name="mobile" />
</view>
</view>
<view class="list_item">
Expand All @@ -50,7 +50,7 @@
<view class="list_item">
<view class="title">详细地址:</view>
<view class="input">
<input type="text" name="addressDetail">
<input type="text" name="addressDetail"/>
</view>
</view>
<view class="list_item">
Expand Down
6 changes: 3 additions & 3 deletions src/components/address_edit.wpy
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
<view class="list_item">
<view class="title">收货人姓名:</view>
<view class="input">
<input type="text" name="receiverName" value="{{editInfo.receiverName}}">
<input type="text" name="receiverName" value="{{editInfo.receiverName}}" />
</view>
</view>
<view class="list_item">
<view class="title">联系电话:</view>
<view class="input">
<input type="text" name="mobile" value="{{editInfo.mobile}}">
<input type="text" name="mobile" value="{{editInfo.mobile}}"/>
</view>
</view>
<view class="list_item">
Expand All @@ -50,7 +50,7 @@
<view class="list_item">
<view class="title">详细地址:</view>
<view class="input">
<input type="text" name="addressDetail" value="{{editInfo.addressDetail}}">
<input type="text" name="addressDetail" value="{{editInfo.addressDetail}}" />
</view>
</view>
<view class="list_item">
Expand Down

0 comments on commit ce4ffb6

Please sign in to comment.