|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
device_name: this.moddata.device_name,
|
|
|
},
|
|
|
});
|
|
|
- console.log(res);
|
|
|
+
|
|
|
if (res == false) {
|
|
|
uni.showToast({
|
|
|
title: '修改名称失败',
|
|
|
@@ -121,7 +121,10 @@ export default {
|
|
|
uni.removeStorage({
|
|
|
key: 'location',
|
|
|
});
|
|
|
- this.clickLeft();
|
|
|
+
|
|
|
+ setTimeout(() => {
|
|
|
+ this.clickLeft();
|
|
|
+ }, 500);
|
|
|
}
|
|
|
},
|
|
|
async eqlistuser(id, imei) {
|
|
|
@@ -151,7 +154,10 @@ export default {
|
|
|
},
|
|
|
btn() {
|
|
|
this.eqlistcity(this.moddata.lat, this.moddata.lng);
|
|
|
- this.eqlistname();
|
|
|
+
|
|
|
+ setTimeout(() => {
|
|
|
+ this.eqlistname();
|
|
|
+ }, 500);
|
|
|
},
|
|
|
clickLeft() {
|
|
|
uni.navigateBack({
|