Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JRangeDate组件设置允许起始项部分为空时不返回值 #6368

Closed
q060831 opened this issue Jun 5, 2024 · 1 comment
Closed

JRangeDate组件设置允许起始项部分为空时不返回值 #6368

q060831 opened this issue Jun 5, 2024 · 1 comment

Comments

@q060831
Copy link

q060831 commented Jun 5, 2024

版本号:3.6.3

问题描述:
JRangeDate组件设置允许起始项部分为空时不返回值.
看了源码发现强制两个值不为空才有值返回

截图&代码:

            function handleChange(arr){
                let str = ''
                if(arr && arr.length>0){
                    if(arr[1] && arr[0]){
                        str = arr.join(',')
                    }
                }
                emit('change', str);
                emit('update:value', str);
                formItemContext.onFieldChange();
            }
@zhangdaiscott zhangdaiscott transferred this issue from jeecgboot/JeecgBoot-vue3 Jun 21, 2024
@liaozhiyang
Copy link

已修复,下一版本发布。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants