common/Tools.js | ●●●●● patch | view | raw | blame | history | |
forms/input/CInput.vue | ●●●●● patch | view | raw | blame | history |
common/Tools.js
@@ -572,7 +572,9 @@ console.warn('=====【艾信App调试特别模式】====='); console.warn('点击右下角悬浮工具箱图标可以折叠面板'); }, 50); setTimeout(() => { callback(); }, 100); } }, 100); } forms/input/CInput.vue
@@ -62,8 +62,10 @@ }, methods: { hanldeChange(evt) { // 小程序中,可以粘贴换行符进来 const changeValue = ((evt || '') + '').replace(/[\n\r]/g, ''); // 去除首尾空格,小程序中还可以粘贴换行符进来 const changeValue = ((evt || '') + '') .replace(/^\s+|\s+$/g, '') .replace(/[\n\r\t]/g, ''); this.itemRes.onChange(changeValue); }, },