anytrek-front-public-component 1.4.56 → 1.4.57

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
@@ -179,6 +179,9 @@ onMounted(() => {
179
179
  | `showLoading` | `整个组件上方显示加载样式(只做样式控制)` | `Boolean` | `false` |
180
180
  | `haveBorderRadius` | `四个角是否有圆角` | `Boolean` | `false` |
181
181
  | `haveLeftBorder` | `是否有左边框` | `Boolean` | `false` |
182
+ | `isArray` | `选择是否以数组的方式进行` | `Boolean` | `false` |
183
+ | `vehicleArray` | `isArray为true时绑定的值,每一项为{ vehicleId:xxx, deviceId: xxx }或者{ vehicleId:0, deviceId: xxx }` | `Object[]` | `false` |
184
+ | `vehicleMaxlength` | `isArray为true时最多同时选择的车辆数量` | `Number` | `3` |
182
185
 
183
186
  备注:现在data支持2种情况了:
184
187
  1.包含数组:tagList,deviceStatusList,vehicleDeviceList,landmarkDeviceList,landmarkList,vehicleType,deviceList,vehicleList
@@ -193,6 +196,7 @@ onMounted(() => {
193
196
  | `onlyClickChange` | `只有点击车辆后会触发` | `参数为两个(第一个为{vehicleId: xxx,deviceId: xxx},第二个为选择的车辆/设备信息)` |
194
197
  | `clickLandmarkOrTag` | `点击tag或者landmark(关闭/打开)触发` | `参数为三个(1.tag/landmark,2.是否关闭,3.选择的tag/landmark信息)` |
195
198
  | `eventTracking` | `触发埋点` | `参数为一个(是具体触发的埋点名称)` |
199
+ | `changeArray` | `isArray为true时车辆选择变化时触发` | `参数为两个(第一个为{vehicleId: xxx,deviceId: xxx}数组,第二个为选择的车辆/设备信息数组)` |
196
200
 
197
201
 
198
202
  ## 🧩 Component: `<addOrEditVehicle>`