src/tabviews/zshare/actionList/normalbutton/mkcounter/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/zshare/mutilform/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/login/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/zshare/actionList/normalbutton/mkcounter/index.jsx
@@ -35,10 +35,10 @@ let val = count - 1 if (btn.min !== '' && val < btn.min) { message.warning(`不可小于${btn.min}!`) message.warning(`${window.GLOB.dict['less_limit'] || '不可小于'}${btn.min}!`) return } else if (btn.max !== '' && val > btn.max) { message.warning(`不可大于${btn.max}!`) message.warning(`${window.GLOB.dict['max_limit'] || '不可大于'}${btn.max}!`) return } @@ -58,10 +58,10 @@ let val = count + 1 if (btn.min !== '' && val < btn.min) { message.warning(`不可小于${btn.min}!`) message.warning(`${window.GLOB.dict['less_limit'] || '不可小于'}${btn.min}!`) return } else if (btn.max !== '' && val > btn.max) { message.warning(`不可大于${btn.max}!`) message.warning(`${window.GLOB.dict['max_limit'] || '不可大于'}${btn.max}!`) return } @@ -79,14 +79,14 @@ const { count, orival } = this.state if (count === '') { message.warning(`不可为空!`) message.warning(window.GLOB.dict['not_empty'] || '不可为空!') this.setState({count: 0}) return } else if (btn.min !== '' && count < btn.min) { message.warning(`不可小于${btn.min}!`) message.warning(`${window.GLOB.dict['less_limit'] || '不可小于'}${btn.min}!`) return } else if (btn.max !== '' && count > btn.max) { message.warning(`不可大于${btn.max}!`) message.warning(`${window.GLOB.dict['max_limit'] || '不可大于'}${btn.max}!`) return } src/tabviews/zshare/mutilform/index.jsx
@@ -402,7 +402,7 @@ } else if (item.notZero === 'true' && value === 0) { callback(item.label + (dict['not_zero'] || '不可为0')) } else if (typeof(item.min) === 'number' && value < item.min) { if (item.min < 1e-6) { if (item.min > 0 && item.min < 1e-6) { if (item.min === 1e-6) { callback(item.label + '最小值为 0.000001') } else if (item.min === 1e-7) { @@ -416,7 +416,7 @@ } else if (item.min === 1e-11) { callback(item.label + '最小值为 0.00000000001') } else { callback(item.label + '最小值为 ' + item.min) callback(item.label + (dict['less_limit'] || '最小值为 ') + item.min) } } else { callback(item.label + (dict['less_limit'] || '最小值为 ') + item.min) src/views/login/index.jsx
@@ -654,10 +654,10 @@ if (res.lang_translation_js && res.lang_data && res.lang_data[0] && (res.lang_data.length > 1 || res.lang_data[0].Lang !== 'zh-CN')) { let lang = sessionStorage.getItem('lang') let js_trans = res.lang_translation_js.map(item => { if (['not_empty', 'not_zero', 'max_limit', 'less_limit']) { if (['not_empty', 'not_zero', 'max_limit', 'less_limit'].includes(item.msn_code)) { item.translation = ' ' + item.translation } if (['input_tip', 'select_tip', 'max_limit', 'less_limit']) { if (['input_tip', 'select_tip', 'max_limit', 'less_limit'].includes(item.msn_code)) { item.translation = item.translation + ' ' } if (lang === item.lang) {