xz-component-library
v1.0.1-alpha.5
Published
按钮的样式根据class名称呈现不同 ```js <xz-button class="primary-btn" disabled>标准按钮</xz-button> <xz-button class="cancel-btn" disabled>取消按钮</xz-button> ``` #### 2、Loading加载 引用方式由指令和服务式调用,v-loading比较适合局部或者内容部分Loading,服务式是全局、全屏显示 - 自定义指令v-loading ```js <xz-table v-loa
Downloads
16
Readme
一、项目描述
公用组件
1、Button按钮
按钮的样式根据class名称呈现不同
<xz-button class="primary-btn" disabled>标准按钮</xz-button>
<xz-button class="cancel-btn" disabled>取消按钮</xz-button>
2、Loading加载
引用方式由指令和服务式调用,v-loading比较适合局部或者内容部分Loading,服务式是全局、全屏显示
- 自定义指令v-loading
<xz-table v-loading="loading"></xz-table>
- 服务式调用
this.$modal.loading('加载中...')
this.$modal.closeLoading()