Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / mini-program / ydauto-business-assistant

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • ydauto-business-assistant
  • packageEquity
  • components
  • GLForm
  • GLForm.wxs
  • 张立顺's avatar
    初始化 · 7e48dc93
    张立顺 committed Mar 12, 2025
    7e48dc93 Browse Files
GLForm.wxs 416 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
var isShowFn = function (formData, targetItem) {
  var flag = false
  if (targetItem.isShowObj && formData) {
    for (var i = 0; i <= targetItem.isShowObj.list.length; i++) {
      var item = targetItem.isShowObj.list[i]
      if (item == formData[targetItem.isShowObj.attr]) {
        flag = true
        break
      }
    }
  } else {
    flag = true
  }
  return flag
}

module.exports = {
  isShowFn: isShowFn
}