apply-clients 4.1.47-weinan → 4.1.48-weinan
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/package.json
CHANGED
|
@@ -629,7 +629,12 @@ export default {
|
|
|
629
629
|
userinfo: this.userinfo,
|
|
630
630
|
selectdata: this.selectdata
|
|
631
631
|
}
|
|
632
|
-
data.userinfo.devices
|
|
632
|
+
if (data.userinfo.devices.length > 0){
|
|
633
|
+
let a = data.userinfo.devices.length
|
|
634
|
+
for (let i = 0; i<a;i++){
|
|
635
|
+
data.userinfo.devices[i].f_state = '有效'
|
|
636
|
+
}
|
|
637
|
+
}
|
|
633
638
|
let res = await this.$resetpost(this.$androidUtil.getProxyUrl() +'/rs/logic/addInstallationDetailsDevices', {data:data}, {
|
|
634
639
|
resolveMsg: null,
|
|
635
640
|
rejectMsg: '设备添加失败!!!'
|