From 2264f99d62d54c3914fe73e3d29227c12100e117 Mon Sep 17 00:00:00 2001 From: smallwei <1634566606@qq.com> Date: Tue, 21 Jan 2020 14:25:56 +0800 Subject: [PATCH] build v2.3.8 --- examples/element-ui/crud/cell.html | 11 +- examples/element-ui/crud/search.html | 4 + examples/element-ui/form/date.html | 21 +- examples/element-ui/form/tree.html | 4 +- examples/element-ui/tree/index.html | 1 + lib/avue.js | 410 ++++++++++++++++++--------- lib/avue.min.js | 4 +- lib/index.css | 2 +- 8 files changed, 314 insertions(+), 143 deletions(-) diff --git a/examples/element-ui/crud/cell.html b/examples/element-ui/crud/cell.html index e4e9d6afc..823f769c0 100644 --- a/examples/element-ui/crud/cell.html +++ b/examples/element-ui/crud/cell.html @@ -183,7 +183,14 @@ type: "datetime", format: "yyyy-MM-dd hh:mm:ss", valueFormat: "timestamp", - cell: true + cell: true, + rules: [ + { + required: true, + message: '请选择日期', + trigger: 'blur' + } + ] }, { label: '地址', prop: 'textarea', @@ -319,6 +326,7 @@ area: '130202', datetime: '2019-01-01 00:00:00', switch1: false, + $cellEdit: true, switch2: false }, { @@ -334,6 +342,7 @@ area: '110101', datetime: '2019-01-01 00:00:00', switch1: true, + $cellEdit: true, switch2: false } ] diff --git a/examples/element-ui/crud/search.html b/examples/element-ui/crud/search.html index a1205744c..85c46b9f7 100644 --- a/examples/element-ui/crud/search.html +++ b/examples/element-ui/crud/search.html @@ -47,6 +47,10 @@ } }, mounted() { + setTimeout(() => { + console.log('clear') + this.$refs.crud.searchReset() + }, 5000) setTimeout(() => { console.log('开始异步加载了') this.option = { diff --git a/examples/element-ui/form/date.html b/examples/element-ui/form/date.html index f6919e806..83f4c915b 100644 --- a/examples/element-ui/form/date.html +++ b/examples/element-ui/form/date.html @@ -19,7 +19,17 @@
- + + + +