vxe-table icon indicating copy to clipboard operation
vxe-table copied to clipboard

proxyConfig 增加不显示loading

Open sukney opened this issue 3 years ago • 3 comments

这个需求解决了什么问题:

在vue框架 中 一般有自己的loading,需要增加取消该loading,用框架的loading

建议的 API 是什么样的:

proxyConfig: { loading:false, autoLoad: true, enabled: false,

loading:false 就不显示loading

是否已有其他不错的替代方案:

No response

sukney avatar Feb 14 '22 14:02 sukney

添加样式就可以去掉表格默认的loading了

.vxe-table .vxe-loading {
  display: none;
}

xlz26296 avatar Feb 15 '22 12:02 xlz26296

css样式是写死,如果json配置,可以从后台获取配置。

jianliulin avatar Feb 16 '22 01:02 jianliulin

是不是可以不用区分代理还是非代理模式,都通过loading: false来控制

coderwyd avatar Jan 11 '24 06:01 coderwyd