修改
This commit is contained in:
@@ -440,20 +440,20 @@ export default {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 获取当前位置
|
||||
getLocation() {
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
this.address = '江苏省南京市江宁区'
|
||||
}
|
||||
// // 获取当前位置
|
||||
// getLocation() {
|
||||
// if (process.env.NODE_ENV === 'development') {
|
||||
// this.address = '江苏省南京市江宁区'
|
||||
// }
|
||||
|
||||
getLocationMessage(data=> {
|
||||
if(data) {
|
||||
this.address = data
|
||||
} else {
|
||||
Notify({ type: 'warning', message: '未获取到定位信息' });
|
||||
}
|
||||
})
|
||||
},
|
||||
// getLocationMessage(data=> {
|
||||
// if(data) {
|
||||
// this.address = data
|
||||
// } else {
|
||||
// Notify({ type: 'warning', message: '未获取到定位信息' });
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
base64ToFile(data, fileName) {
|
||||
const dataArr = data.split(",");
|
||||
const byteString = window.atob(dataArr[1]);
|
||||
@@ -797,10 +797,6 @@ export default {
|
||||
this.$toast('请上传企业外观照片')
|
||||
return
|
||||
}
|
||||
if (!this.address&&this.$store.getters.cityIsNx) {
|
||||
this.$toast('请获取位置信息')
|
||||
return
|
||||
}
|
||||
if (this.isfaly1 == false) {
|
||||
let id = this.gzList.map(v => {
|
||||
return v.id
|
||||
|
||||
Reference in New Issue
Block a user