anytrek-front-public-component 1.4.10 → 1.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -167,7 +167,7 @@ onMounted(() => {
167
167
  | ---------- | --------------------- | ---------------- | ------------------- |
168
168
  | `keyword` | `搜索的关键字,用此字段搜索车辆/设备(右上角搜索框)` | `String` | `''` |
169
169
  | `loading` | `加载中,做状态显示,只要为true,就会出现一层盖在上面的遮罩(第一次loading变成false时,会去合并data中的数据,所以必须在请求到data中的数据之后置为false)` | `Boolean` | `true` |
170
- | `data` | `接口返回的原始数据(包含数组:tagList,deviceStatusList,vehicleDeviceList,landmarkDeviceList,landmarkList,vehicleType,deviceList,vehicleList,landmarkGroupList)` | `Object` | `{}` |
170
+ | `data` | `接口返回的原始数据(见下方备注)` | `Object` | `{}` |
171
171
  | `sortKey` | `排序规则(默认A->Z排序。可选值(driving,idle,waring,offline,battery,last,create,asc,desc))` | `String` | `asc` |
172
172
  | `modleList` | `如果需要只筛选某些型号的设备及其关联的车辆,可以将型号Id加入这个数组` | `Number[]` | `[](比如只想显示型号为2002和2310的设备及其关联的车辆,可以传[37, 54];如果只想显示型号为2308的设备,可以传[62])` |
173
173
  | `vehicleId` | `当前选择的车辆ID(如果匹配不上,会默认到第一辆车)(外部改变选择的车辆/设备靠这个参数和下面的deviceId)` | `Number` | `0` |
@@ -180,6 +180,11 @@ onMounted(() => {
180
180
  | `haveBorderRadius` | `四个角是否有圆角` | `Boolean` | `false` |
181
181
  | `haveLeftBorder` | `是否有左边框` | `Boolean` | `false` |
182
182
 
183
+ 备注:现在data支持2种情况了:
184
+ 1.包含数组:tagList,deviceStatusList,vehicleDeviceList,landmarkDeviceList,landmarkList,vehicleType,deviceList,vehicleList
185
+ 2.包含数组:relationDeviceList,tagList,landmarkList,vehicleType
186
+
187
+
183
188
  ## 📋 Events Reference
184
189
  | 事件名 | 描述 | 备注 |
185
190
  | -------- | --------------------- | ----------------- |