Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

“”选择图片“”按钮只有一小部分被点击时才会弹出文件框 #2878

Open
PeterYe2014 opened this issue Jul 29, 2018 · 1 comment

Comments

@PeterYe2014
Copy link

PeterYe2014 commented Jul 29, 2018

在使用 webuploader与bootstrap模态框结合的时候,出现该问题,按钮有些部分点击无效。经多次调试,发现是 id 为 “rt_xxx"的容器的宽度与高度设置出错,并未覆盖 input文件输入框,查看源码,1755行:

 me.connectRuntime( opts, function() {
            me.refresh();
            me.exec( 'init', opts );
            me.trigger('ready');
});

修改为:

 me.connectRuntime( opts, function() {
            me.exec( 'init', opts );
            me.refresh();
            me.trigger('ready');
});

上诉问题得到解决,并能成功上传文件,希望开发者再次确认问题所在。

@LSL1618
Copy link

LSL1618 commented Aug 17, 2018

@PeterYe2014 ,赞一个,我是直接这样干的:
$('#dialog .webuploader-pick').css({ padding: '8px 6px', width: '81px' });

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

No branches or pull requests

2 participants