From 094e3d55b37ead994f0b2b81bb9986ee559ffc70 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Thu, 23 May 2019 18:44:43 +0800 Subject: [PATCH] update --- docs/index.html | 2 +- docs/static/js/index.9affdf58.js | 1 + docs/static/js/index.ec47255c.js | 1 - examples/App.vue | 10 +- examples/router.js | 14 +- .../edit/{Disable.vue => CellDisable.vue} | 4 +- examples/views/table/edit/RowDisable.vue | 169 ++++++++++++++++++ 7 files changed, 191 insertions(+), 10 deletions(-) create mode 100644 docs/static/js/index.9affdf58.js delete mode 100644 docs/static/js/index.ec47255c.js rename examples/views/table/edit/{Disable.vue => CellDisable.vue} (97%) create mode 100644 examples/views/table/edit/RowDisable.vue diff --git a/docs/index.html b/docs/index.html index c84c2f95d..f29240b42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -vxe-table 表格
\ No newline at end of file +vxe-table 表格
\ No newline at end of file diff --git a/docs/static/js/index.9affdf58.js b/docs/static/js/index.9affdf58.js new file mode 100644 index 000000000..319e59478 --- /dev/null +++ b/docs/static/js/index.9affdf58.js @@ -0,0 +1 @@ +var VXETable=function(e){function t(t){for(var a,r,i=t[0],s=t[1],c=t[2],u=0,p=[];u-1?n.className="":n.className="is-show")}},linkEvent:function(e){this.tableList.forEach(function(t){e!==t&&(t.expand=!1)}),e.expand=!e.expand}}}),c=s,d=n("2877"),u=Object(d["a"])(c,r,i,!1,null,null,null),p=u.exports,m=n("8c4f"),b=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},v=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h3",[e._v("npm 安装")]),n("p",[e._v("推荐使用 npm 的方式安装,它能更好地和 "),n("a",{staticClass:"link",attrs:{href:"https://webpack.js.org/"}},[e._v("webpack")]),e._v(" 打包工具配合使用。")]),n("pre",[e._v(" "),n("code",{staticClass:"javascript"},[e._v("\n npm install vxe-table\n ")]),e._v("\n ")]),n("pre",[e._v(" "),n("code",{staticClass:"javascript"},[e._v("\n import Vue from 'vue'\n import VXETable from 'vxe-table'\n import 'vxe-table/lib/index.css'\n\n // 默认安装 Table,TableColumn,Grid,Excel,Pagination,Checkbox\n Vue.use(VXETable)\n ")]),e._v("\n ")]),n("p",[e._v("或者")]),n("pre",[e._v(" "),n("code",{staticClass:"javascript"},[e._v("\n import Vue from 'vue'\n import VXETable, {\n Table,\n TableColumn,\n Grid,\n Excel,\n Pagination,\n Checkbox,\n Radio,\n Input\n } from 'vxe-table'\n import 'vxe-table/lib/index.css'\n\n Vue.use(Table)\n Vue.use(TableColumn)\n Vue.use(Grid)\n Vue.use(Excel)\n Vue.use(Pagination)\n Vue.use(Checkbox)\n Vue.use(Radio)\n Vue.use(Input)\n\n // 设置全局默认参数\n VXETable.setup({\n size: 'small'\n })\n ")]),e._v("\n ")]),n("h3",[e._v("CDN")]),n("p",[e._v("可以通过 "),n("a",{staticClass:"link",attrs:{href:"https://unpkg.com/vxe-table/"}},[e._v("unpkg")]),e._v(" 或 "),n("a",{staticClass:"link",attrs:{href:"https://cdn.jsdelivr.net/npm/vxe-table/"}},[e._v("cdnjs")]),e._v(" 获取到最新版本的资源,并在页面上引入即可")]),n("pre",[e._v(" "),n("code",{staticClass:"xml"},[e._v('\n \x3c!-- 引入样式 --\x3e\n \n \x3c!-- 引入脚本 --\x3e\n