Merge branch 'master' of https://gitee.com/beiwu/cmanager
This commit is contained in:
@@ -148,8 +148,11 @@ const accept = [
|
||||
];
|
||||
|
||||
function getPath(path) {
|
||||
const arr = path.split(",");
|
||||
return arr[arr.length - 1];
|
||||
if(path) {
|
||||
const arr = path.split(",");
|
||||
return arr[arr.length - 1];
|
||||
}
|
||||
return path
|
||||
}
|
||||
|
||||
export default {
|
||||
@@ -829,9 +832,10 @@ export default {
|
||||
this.obj.address = form.address + (form.title || "");
|
||||
this.obj.lat = form.lat;
|
||||
this.obj.lon = form.lng;
|
||||
this.form.companyAddress = form.address + (form.title || "");
|
||||
},
|
||||
addressDel(){
|
||||
this.obj.address = "";
|
||||
this.form.companyAddress = this.obj.address = "";
|
||||
},
|
||||
// uploadBefore(file, done, loading) {
|
||||
// const isLt2M = file.size / 1024 / 1024 < 2;
|
||||
|
||||
Reference in New Issue
Block a user