<block wx:for="{{deviceLocationList}}">
|
<device-location index="{{index + 1}}" read-only="{{true}}" location="{{item}}"></device-location>
|
</block>
|
<t-button wx:if="{{!showNewLocation}}" theme="light" size="small" bind:tap="onAddLocation"
|
>新增位置变更信息</t-button
|
>
|
<device-location
|
wx:if="{{showNewLocation}}"
|
location="{{newLocation}}"
|
bind:cancel="cancelNewLocation"
|
bind:confirm="saveNewLocation"
|
></device-location>
|