|
@@ -162,16 +162,18 @@
|
|
// console.log("this.position",this.position)
|
|
// console.log("this.position",this.position)
|
|
// this.position.selectLocation = this.position.longitude+","+this.position.latitude
|
|
// this.position.selectLocation = this.position.longitude+","+this.position.latitude
|
|
// console.log("this.position",this.position)
|
|
// console.log("this.position",this.position)
|
|
- if(this.$store.state.enter.id){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url:"/pages/grain_pulse/editcompany?position="+JSON.stringify(this.position)
|
|
|
|
- })
|
|
|
|
- }else{
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url:"/pages/grain_pulse/enter?position="+JSON.stringify(this.position)
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ // if(this.$store.state.enter.id){
|
|
|
|
+ // uni.navigateTo({
|
|
|
|
+ // url:"/pages/grain_pulse/editcompany?position="+JSON.stringify(this.position)
|
|
|
|
+ // })
|
|
|
|
+ // }else{
|
|
|
|
+ // uni.navigateTo({
|
|
|
|
+ // url:"/pages/grain_pulse/enter?position="+JSON.stringify(this.position)
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+ uni.navigateBack({
|
|
|
|
+
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|