This commit is contained in:
jiangyinzhi
2025-06-06 09:34:27 +08:00
parent 0a9ab6ea26
commit 3523dcade7
8 changed files with 13 additions and 122 deletions
+7 -6
View File
@@ -148,11 +148,12 @@ export default {
getPositionData({taskId: this.taskId}).then(res => {
console.log(res.code , res.data);
if(res.code == 0&&res.data){
for (const key in this.formData) {
if (Object.hasOwnProperty.call(this.formData, key)) {
this.formData[key] = res.data[key]
}
}
// for (const key in this.formData) {
// if (Object.hasOwnProperty.call(this.formData, key)) {
// this.formData[key] = res.data[key]
// }
// }
this.formData = res.data
if (res.data.fileId) {
this.$set(this.text1,0, {
fileName: res.data.fileName,
@@ -162,7 +163,7 @@ export default {
console.log(this.text1);
}
this.$forceUpdate()
this.showSubmit = false
this.showSubmit = true
}else{
this.showSubmit = true
this.getLocation()