king
2025-04-18 6ef9d27040d0ddc16305889b9394fafdead7710d
2025-04-18
1个文件已修改
10 ■■■■■ 已修改文件
src/templates/zshare/modalform/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/modalform/index.jsx
@@ -973,6 +973,16 @@
            return
          }
          if (values.field && values.type === 'text' && (/addr/ig.test(values.field) || /地址/ig.test(values.label))) {
            if (values.fieldlength <= 50) {
              notification.warning({
                top: 92,
                message: '检测到当前字段为地址,请确认字段长度是否合适。',
                duration: 5
              })
            }
          }
          // 下拉菜单或联动菜单
          if (['multiselect', 'select', 'link', 'radio', 'checkbox'].includes(values.type)) {
            if (values.resourceType === '0') {