riku
2024-07-26 1a4d35a08d05e014663c144771976abb0edaa933
1
2
3
4
5
6
7
8
9
10
11
12
<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>