Преглед на файлове

优化代码

wulanhaote
hbao преди 3 години
родител
ревизия
5f429d428f
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. +3
    -0
      src/views/homestead/index.vue

+ 3
- 0
src/views/homestead/index.vue Целия файл

@@ -1396,6 +1396,7 @@ export default {
})
.then(() => {
// on confirm
houseInfoList.theGeom ="["+houseInfoList.theGeom+"]"
houseAdd(houseInfoList).then((res) => {
if (res.code == 200) {
this.landHomesteadEditVisbileFun("hide");
@@ -1507,6 +1508,7 @@ export default {
})
.then(() => {
// on confirm
landInfoList.theGeom ="["+landInfoList.theGeom+"]"
landAdd(landInfoList).then((res) => {
if (res.code == 200) {
this.landHomesteadEditVisbileFun("hide");
@@ -3197,6 +3199,7 @@ export default {
nfAddimgonRead(file) {
var formData = new FormData(); //构造一个 FormData,把后台需要发送的参数添加
formData.append("file", file.file); //接口需要传的参数
console.log(formData);
commonUpload(formData).then((res) => {
this.houseInfoList.frontHouse = res.url;
});


Зареждане…
Отказ
Запис