This commit is contained in:
xuliangzhan
2019-06-02 21:43:52 +08:00
parent 1409d426a0
commit 8589f2c4e9
4 changed files with 7 additions and 5 deletions

View File

@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/vxe-table/favicon.ico><title>vxe-table 表格</title><link href=/vxe-table/static/css/chunk-vendors.595f1fdb.css rel=preload as=style><link href=/vxe-table/static/css/index.e763988a.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.de52331a.js rel=preload as=script><link href=/vxe-table/static/js/index.a77b5531.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.595f1fdb.css rel=stylesheet><link href=/vxe-table/static/css/index.e763988a.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/static/js/chunk-vendors.de52331a.js></script><script src=/vxe-table/static/js/index.a77b5531.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/vxe-table/favicon.ico><title>vxe-table 表格</title><link href=/vxe-table/static/css/chunk-vendors.595f1fdb.css rel=preload as=style><link href=/vxe-table/static/css/index.e763988a.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.de52331a.js rel=preload as=script><link href=/vxe-table/static/js/index.82b938a9.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.595f1fdb.css rel=stylesheet><link href=/vxe-table/static/css/index.e763988a.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/static/js/chunk-vendors.de52331a.js></script><script src=/vxe-table/static/js/index.82b938a9.js></script></body></html>

1
docs/static/js/index.82b938a9.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,17 +1,19 @@
<template>
<div>
<h3>高级函数</h3>
<p>自定义渲染器 + 渲染函数</p>
<p>通过渲染器你可以轻松实现渲染的单元格组件可以根据不同业务实现不一样的组件这个功能将非常实用</p>
<p>例子使用 render 实现单元格组件</p>
<pre>
<code class="javascript">{{ demoCodes[0] }}</code>
<code class="html">{{ demoCodes[1] }}</code>
</pre>
<p>自定义渲染器 + JSX</p>
<p>例子使用 JSX 实现单元格组件</p>
<pre>
<code class="javascript">{{ demoCodes[2] }}</code>
<code class="html">{{ demoCodes[3] }}</code>
</pre>
<p>内置拦截器对于自定义渲染的组件与内部事件存在冲突时可能会使用到</p>
<p>通过内置拦截器可以解决当表格交互与其他组件存在冲突的可以通过拦截器去阻止默认的行为从而可以集成其他组件互相兼容</p>
<p>例子比如集成某个日期组件后由于面板不在对单元格之内按键事件的交互行为存在冲突对于这些场景就很有用了</p>
<pre>
<code class="javascript">{{ demoCodes[4] }}</code>
</pre>