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
showLoading在div较小的时候无法居中 #638
Labels
Comments
x,y不支持left、right、center等定位,只支持数值,需要在定位时通过dom大小自己计算后传入 |
那就是loadoption里面写错了啊 另外第一个例子里面,并没有指定x,y。并没有默认居中 |
抱歉。 |
哈哈。辛苦啊 |
艾玛,点错了,点成关闭了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这是一个loading选项,采用之后的效果如下
如果改成这样:
var loading2 = {
text: 'Loading...',
effect: 'spin',
textStyle: {
fontSize: 5
},
x: 'center',
y: 'center',
};
文字就不显示了
The text was updated successfully, but these errors were encountered: