Bladeren bron

app2.0 解决图片上传错误的问题

长阳分支推送专用
杨晓琪 2 jaren geleden
bovenliggende
commit
8117fdb377
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +3
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/workflow.js

+ 3
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/workflow.js Bestand weergeven

@@ -265,15 +265,15 @@ export default {
// 不是表格的情况
const path = item.__valuePath__
const val = get(formValue, path)
var guid = undefined
if (item.type == 'upload') {
// 先生成一个guid
var guid = this.newguid();
guid = this.newguid();
// 取出当前列对应的labelId
var labeId = item.id
// 从缓存取出当前审批流程所有的guid
var guids = JSON.parse(uni.getStorageSync('guids'))
if (guids&&JSON.stringify(guids)!=='{}') {
if (guids&&JSON.stringify(guids)!=='{}'&&guids[labeId]) {
guid = guids[labeId]
}
}


Laden…
Annuleren
Opslaan