From 28922ec116ad4c0649005c51863f5e2d987e85fa Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:20:59 +0800
Subject: [PATCH 01/13] no message
Former-commit-id: cba677736e2f60aabfec82226a8a91c8c8714bac [formerly cba677736e2f60aabfec82226a8a91c8c8714bac [formerly cba677736e2f60aabfec82226a8a91c8c8714bac [formerly cba677736e2f60aabfec82226a8a91c8c8714bac [formerly 6c59c3126086bb46805ad046ce51d7d4eb6409e8 [formerly 5467b975994329dc9e7921e786e62bd26f7c9d7a]]]]]
Former-commit-id: e842168fc72d8aae90aa42c79ca42c9474c602a4
Former-commit-id: 831db109565a97d9ecf4ae7836e39625026e00f2
Former-commit-id: dc6fa891be376efc3a1d1abeda1c1f33e62c486f [formerly 75ca46019a8418b8b9282f4f57788ae467d9387f]
Former-commit-id: debe3ffba91eccc2a771b7591d3b1829e5367875
Former-commit-id: e1861989ed53d1e14aaa713d00b06c622246eeef
Former-commit-id: 8ecf0e44d957e858f993583808f2e4aff36d7cda
Former-commit-id: 3ee82394ea19e2dd0ef6dfc15063ade1e1fc23c2
Former-commit-id: a603969620a081be6b48e0677b7f4e506fe835ea
---
src/menu/index.js | 4 +-
.../demo/components/contextmenu/disabled.vue | 38 ++++++++++++++++++
.../demo/components/contextmenu/group.vue | 2 +-
.../demo/components/contextmenu/submenu.vue | 40 +++++++++++++++++++
src/router/index.js.REMOVED.git-id | 2 +-
5 files changed, 83 insertions(+), 3 deletions(-)
create mode 100644 src/pages/demo/components/contextmenu/disabled.vue
create mode 100644 src/pages/demo/components/contextmenu/submenu.vue
diff --git a/src/menu/index.js b/src/menu/index.js
index 588660c2..3c48efd4 100644
--- a/src/menu/index.js
+++ b/src/menu/index.js
@@ -101,7 +101,9 @@ const demoComponents = {
children: [
{ path: `${pre}contextmenu/simple`, title: '基础' },
{ path: `${pre}contextmenu/divier`, title: '分割线' },
- { path: `${pre}contextmenu/group`, title: '按钮组' }
+ { path: `${pre}contextmenu/group`, title: '按钮组' },
+ { path: `${pre}contextmenu/submenu`, title: '子菜单' },
+ { path: `${pre}contextmenu/disabled`, title: '禁用' }
]
},
{ path: `${pre}bigdata-table`, title: '百万数量级表格' },
diff --git a/src/pages/demo/components/contextmenu/disabled.vue b/src/pages/demo/components/contextmenu/disabled.vue
new file mode 100644
index 00000000..0c8576da
--- /dev/null
+++ b/src/pages/demo/components/contextmenu/disabled.vue
@@ -0,0 +1,38 @@
+
+
+ 禁用
+
+ 菜单1
+ 菜单2
+
+
+ 菜单3
+
+
+ 菜单5
+
+ 菜单4
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/demo/components/contextmenu/group.vue b/src/pages/demo/components/contextmenu/group.vue
index 927763f9..8bc3312c 100644
--- a/src/pages/demo/components/contextmenu/group.vue
+++ b/src/pages/demo/components/contextmenu/group.vue
@@ -1,6 +1,6 @@
- 分割线
+ 按钮组
菜单1
diff --git a/src/pages/demo/components/contextmenu/submenu.vue b/src/pages/demo/components/contextmenu/submenu.vue
new file mode 100644
index 00000000..4dbabcf4
--- /dev/null
+++ b/src/pages/demo/components/contextmenu/submenu.vue
@@ -0,0 +1,40 @@
+
+
+ 子菜单
+
+ 菜单 1
+ 菜单 2
+
+
+ 菜单 3-1
+
+
+ 菜单 3-2-1
+
+ 菜单 3-3
+ 菜单 3-4
+ 菜单 3-5
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js.REMOVED.git-id b/src/router/index.js.REMOVED.git-id
index 43600d62..4a49c396 100644
--- a/src/router/index.js.REMOVED.git-id
+++ b/src/router/index.js.REMOVED.git-id
@@ -1 +1 @@
-ca9703fe75f6928e93a03443767f2b87cbe5ef2a
\ No newline at end of file
+339b0329c6d4d368603852cd4bc5ec119ad52832
\ No newline at end of file
From 6354ad59bf62fcc75e15ed316f98ce327fcdf8e2 Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:30:54 +0800
Subject: [PATCH 02/13] no message
Former-commit-id: 90d15f0a8f44a278fddd3a2ba50c5a555b07ae5e [formerly 90d15f0a8f44a278fddd3a2ba50c5a555b07ae5e [formerly 90d15f0a8f44a278fddd3a2ba50c5a555b07ae5e [formerly 90d15f0a8f44a278fddd3a2ba50c5a555b07ae5e [formerly cd89dd457e1cf01d26df89e8c486f1fe5de39395 [formerly 7cd87a0d9e58338de7ec770cb5375b76d80139ef]]]]]
Former-commit-id: c94a9202421b5bc75846f5846910e3d157705364
Former-commit-id: 28001973bb5b14065fb3bd3a79dc248d12b85c6a
Former-commit-id: 577ad7ac8d14ba31c1a442118f39a956d23d15d9 [formerly 71a8b4249c963e78f317730e9a4bbdbbc3220f98]
Former-commit-id: 640a8e086b3f8e5b979e93f80362a28f6779eb9b
Former-commit-id: 594229216e79e6484c0fe1c6f147b88d15bb199f
Former-commit-id: 88f8bd259204e759e223db8a8b285f3b1e007fe9
Former-commit-id: 38c640b2318fcc7a725233c4d7115206a893215d
Former-commit-id: df4f73df9a9e2e8d4f60eca334bd363d8579f5b6
---
src/menu/index.js | 3 +-
.../components/contextmenu/custom-trigger.vue | 46 +++++++++++++++++++
src/router/index.js.REMOVED.git-id | 2 +-
3 files changed, 49 insertions(+), 2 deletions(-)
create mode 100644 src/pages/demo/components/contextmenu/custom-trigger.vue
diff --git a/src/menu/index.js b/src/menu/index.js
index 3c48efd4..b4bd2398 100644
--- a/src/menu/index.js
+++ b/src/menu/index.js
@@ -103,7 +103,8 @@ const demoComponents = {
{ path: `${pre}contextmenu/divier`, title: '分割线' },
{ path: `${pre}contextmenu/group`, title: '按钮组' },
{ path: `${pre}contextmenu/submenu`, title: '子菜单' },
- { path: `${pre}contextmenu/disabled`, title: '禁用' }
+ { path: `${pre}contextmenu/disabled`, title: '禁用' },
+ { path: `${pre}contextmenu/custom-trigger`, title: '自定义事件' }
]
},
{ path: `${pre}bigdata-table`, title: '百万数量级表格' },
diff --git a/src/pages/demo/components/contextmenu/custom-trigger.vue b/src/pages/demo/components/contextmenu/custom-trigger.vue
new file mode 100644
index 00000000..771b8ff7
--- /dev/null
+++ b/src/pages/demo/components/contextmenu/custom-trigger.vue
@@ -0,0 +1,46 @@
+
+
+ 自定义事件
+
+ 菜单1
+
+ 菜单2
+ 菜单3
+
+
+ 菜单1
+
+ 菜单2
+ 菜单3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js.REMOVED.git-id b/src/router/index.js.REMOVED.git-id
index 4a49c396..293fcced 100644
--- a/src/router/index.js.REMOVED.git-id
+++ b/src/router/index.js.REMOVED.git-id
@@ -1 +1 @@
-339b0329c6d4d368603852cd4bc5ec119ad52832
\ No newline at end of file
+919c478f2e165432104d6811b3b855f7b049ea39
\ No newline at end of file
From 2cbf0c3e9a389f9eeb39d66047a99e71626dfc07 Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:33:52 +0800
Subject: [PATCH 03/13] no message
Former-commit-id: 5b06a66f3e8a1ae542d67d3c82ddb82d0d338647 [formerly 5b06a66f3e8a1ae542d67d3c82ddb82d0d338647 [formerly 5b06a66f3e8a1ae542d67d3c82ddb82d0d338647 [formerly 5b06a66f3e8a1ae542d67d3c82ddb82d0d338647 [formerly 0ac0e89d4e4752738e943273ea63ac1dfdb38140 [formerly 08764ab23b03ea5b80f239a4d05305f6d0f238cd]]]]]
Former-commit-id: 66bb1993a14b7250a4a0e53f7c0f264d9989aee6
Former-commit-id: 25b36bec2f4d25a2d3ad09cf3ae30b8815a8e17c
Former-commit-id: 8b15aa90fe8e6355848592efc6a5beec87a6a954 [formerly 9253e296681d5f7bb5efb4d64874170e5aea66eb]
Former-commit-id: 60da25838a51714dcd87a2c5de8eb9049efa1964
Former-commit-id: 71a946d7c04a24804fe26c8b2de928d28e5087e9
Former-commit-id: b346fa029dc0cb1574e694604771152867c91a10
Former-commit-id: 6ab83c6b83c9d8a4197674a70438c3edc803a090
Former-commit-id: 714f458c51607561025b91c2617f9f59bb6aa475
---
docs/zh/guide/change-log.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/zh/guide/change-log.md b/docs/zh/guide/change-log.md
index 22370e5c..21361b86 100644
--- a/docs/zh/guide/change-log.md
+++ b/docs/zh/guide/change-log.md
@@ -29,6 +29,8 @@
* [ 修复 ] d2-container 组件改为同步注册(之前的异步注册会有 mounted 生命周期问题,即 slot 内的页面在 mounted 生命周期内拿不到 dom)
* [ 修复 ] d2-container 组件重构 flex 布局
* [ 新增 ] 404 page
+* [ 新增 ] 顶栏联系方式
+* [ 新增 ] 右键菜单组件
## v1.0.0
From c2784d973e5a606608f9e61323eb3f3d18209611 Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:35:49 +0800
Subject: [PATCH 04/13] no message
Former-commit-id: 12915935b1fa7197608e15e8c14c667a22a51962 [formerly 12915935b1fa7197608e15e8c14c667a22a51962 [formerly 12915935b1fa7197608e15e8c14c667a22a51962 [formerly 12915935b1fa7197608e15e8c14c667a22a51962 [formerly 567d895d58d0894a40bb9602a420c5596d6360a2 [formerly f3befa60c78e139fda5b13226d7122503042d802]]]]]
Former-commit-id: 3f5f274d27c55a29464243bc033c21ec92f0a71a
Former-commit-id: f3d9755a2f12fc9bfcae31ac27a8732a67274811
Former-commit-id: c661fd83d40f790ae07bf7c23e11e3a8283789cf [formerly 47435fea11e49c2a43608ed1456bc18dd8ddf48f]
Former-commit-id: 49e79bbe263c7b10cd9dc03364668a3d54d9b2d3
Former-commit-id: 5952f01af5723c64aa784a88d284d28b142a14ed
Former-commit-id: bc37c214a8ff642faaacdac8cb5d91800f60a0cd
Former-commit-id: d2984a261997b9478f0b42b4b361109b2fde094f
Former-commit-id: 92992467fc42b355675d34805262ffb4b9d1738a
---
src/components/core/register.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/core/register.js b/src/components/core/register.js
index fffddae7..0c3bf1fb 100644
--- a/src/components/core/register.js
+++ b/src/components/core/register.js
@@ -3,7 +3,7 @@ import Vue from 'vue'
import { GridLayout, GridItem } from 'vue-grid-layout'
import SplitPane from 'vue-splitpane'
-// 主容器
+// 主容器 这个必须要同步注册
import d2Container from '@/components/core/d2-container'
Vue.component('d2-grid-layout', GridLayout)
From 5369b7327132a9a961f541e13ae01337dfa83508 Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:37:55 +0800
Subject: [PATCH 05/13] no message
Former-commit-id: 9f86adc19b58e25f6166354c143e960b3a0f7ca4 [formerly 97285715cbaa217775bd1ce60b88226496232c0a] [formerly 9f86adc19b58e25f6166354c143e960b3a0f7ca4 [formerly 97285715cbaa217775bd1ce60b88226496232c0a] [formerly 9f86adc19b58e25f6166354c143e960b3a0f7ca4 [formerly 97285715cbaa217775bd1ce60b88226496232c0a] [formerly 97285715cbaa217775bd1ce60b88226496232c0a [formerly 6d362b70a16d5278ded81560ec46afa6b083b9b0 [formerly a36f2047215ee5992c4c9dfa850c5bd40215c362]]]]]
Former-commit-id: 7a178be095c85cc74725978e3a897ad50960067a
Former-commit-id: d5254f5fcbc6f94f7192c9e8b243dbb89926cb2b
Former-commit-id: c2b78b1b961238dc63673e6b43247d1ba863a9d2 [formerly ea6d5b54ed82a670dc0094bc00420c68da31f76d]
Former-commit-id: 5839cf83e33bf260b7c712454f5449f5d89783b4
Former-commit-id: 6d1adcb3231d5be615170a7c2cd2134dd9f04b56
Former-commit-id: 84a05aefd66db062663abcd9e84539e78185b3f3
Former-commit-id: dacf9230465d35affaf07b164f83c1f8516dba13
Former-commit-id: dae39df30f7c652a6280316ed106bf156973cf43
---
src/menu/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/menu/index.js b/src/menu/index.js
index b4bd2398..69acd1eb 100644
--- a/src/menu/index.js
+++ b/src/menu/index.js
@@ -145,7 +145,7 @@ const demoChart = {
// 路由菜单 组件库
const demoElement = {
path: '/demo/element',
- title: '组件库',
+ title: 'Element 组件库',
icon: 'puzzle-piece',
children: (pre => [
{ path: `${pre}index`, title: '组件库首页' },
From 2411277c6cf1fe33e7fdc10b97cda6d65dc7beea Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:46:01 +0800
Subject: [PATCH 06/13] no message
Former-commit-id: 3b46c347c405def07371d8061bd5d65099d5ebc9 [formerly 3b46c347c405def07371d8061bd5d65099d5ebc9 [formerly 3b46c347c405def07371d8061bd5d65099d5ebc9 [formerly 3b46c347c405def07371d8061bd5d65099d5ebc9 [formerly c4d69429153270b1532861c4478f379aad4c807a [formerly b200fc43219a1be1c587fc2dbe76da7e632a8919]]]]]
Former-commit-id: 26c5b6ae9e07eef57c12e8ea786e71a91849e506
Former-commit-id: abf238bbc510b619ca85dd6fbadd97eed4ed589b
Former-commit-id: 1309552d6f644152dcf0bc8b37618a315ad2c6dd [formerly 3378e4e56b8d49c3782a88c388b03f94b74d5e53]
Former-commit-id: b01a1fef0501c3013771d50a32a1b2086d9672e4
Former-commit-id: d3c9fad8d03c1129dfcef3787f5bf9c674eb1795
Former-commit-id: cd5ba3f6142d9f3dd094516d86f53172573a0892
Former-commit-id: 42e251897ac8d762121871b38e7445e78a139283
Former-commit-id: 9ec1921ec3d162907087b79d5be2f1e1c2afa309
---
src/pages/demo/components/icon/list.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/demo/components/icon/list.vue b/src/pages/demo/components/icon/list.vue
index e0ffcbaa..c4bae2cb 100644
--- a/src/pages/demo/components/icon/list.vue
+++ b/src/pages/demo/components/icon/list.vue
@@ -1,5 +1,5 @@
-
+
Date: Wed, 20 Jun 2018 08:53:10 +0800
Subject: [PATCH 07/13] no message
Former-commit-id: e32b6034772bfefa25bf2bf7aa3aab96ef2dc454 [formerly e32b6034772bfefa25bf2bf7aa3aab96ef2dc454 [formerly e32b6034772bfefa25bf2bf7aa3aab96ef2dc454 [formerly e32b6034772bfefa25bf2bf7aa3aab96ef2dc454 [formerly ad3442f66c15214cf86681a005d67c4dc2dd9f8f [formerly 15dbf8928108074dad40dd488941aa06fdbc3d1f]]]]]
Former-commit-id: 17e63e9d3d41ec51d338718f6ecb691149a0a47f
Former-commit-id: 0aa764e715155aa9c7a2bbe7098f9f5637407e61
Former-commit-id: 8be798e6c23168286beeb9d6ef523dd07c0512fe [formerly b6036a70fe85ba4b7a11a4c222a6fd6e8ba992dd]
Former-commit-id: dead6c57826e51dfd396a04a3f08acd428d8b1c0
Former-commit-id: e1ed749b9914de78edc995f13ff697e293595633
Former-commit-id: 7fd5dc99b4679a44e1480525df284d614111e470
Former-commit-id: 56ec85abde1a7f3875962cd32141904293d60bfd
Former-commit-id: 80a31b90879f77de6dc321a47136f2300448dd08
---
src/pages/demo/components/scrollbar/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pages/demo/components/scrollbar/index.vue b/src/pages/demo/components/scrollbar/index.vue
index bb74c16e..2ea1be4b 100644
--- a/src/pages/demo/components/scrollbar/index.vue
+++ b/src/pages/demo/components/scrollbar/index.vue
@@ -12,6 +12,7 @@
+
From 11fae5b46da6bf83131d370059c77f80cbe371c1 Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Wed, 20 Jun 2018 08:55:43 +0800
Subject: [PATCH 08/13] no message
Former-commit-id: 842fb01e882ba6bc2ecb96a5e45708d7507707e4 [formerly 842fb01e882ba6bc2ecb96a5e45708d7507707e4 [formerly 842fb01e882ba6bc2ecb96a5e45708d7507707e4 [formerly 842fb01e882ba6bc2ecb96a5e45708d7507707e4 [formerly a5bf7cf19e98823914bb3c80c903065124036446 [formerly 0d3deba5fff1d6f046a6b12e0eeffd93cb7c7cb1]]]]]
Former-commit-id: e58468fba4c83e7f5e777e9005db9463c112aa92
Former-commit-id: cf4ec7bf3b54c96d8e6a35ee41ef8bf5512aa6f3
Former-commit-id: 1372e7c5809d8eb1a33cda1cf9a7b3b678ebddb5 [formerly 484085ada5db41a497d5b2f980ae855fd5f5ebd0]
Former-commit-id: ede910e101bdb547f4bec243f9f7c6d4d5db2ce1
Former-commit-id: 5292283c77e47b13bb2a31914b2e358ecb4fa230
Former-commit-id: 81204fea95fcff76f6f58c471552565ea25e788b
Former-commit-id: 7d5d1d3b7d1e3c7f5a0bc99e736b5ff00a72bc8a
Former-commit-id: 3c0791a62bae56a25b85a7802f51cadd405c6484
---
src/pages/demo/components/scrollbar/index.vue | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/pages/demo/components/scrollbar/index.vue b/src/pages/demo/components/scrollbar/index.vue
index 2ea1be4b..289abea3 100644
--- a/src/pages/demo/components/scrollbar/index.vue
+++ b/src/pages/demo/components/scrollbar/index.vue
@@ -12,10 +12,22 @@
-
+
+
+
+
diff --git a/src/pages/demo/components/icon/icon.vue b/src/pages/demo/components/icon/icon.vue
index 0ce31ce0..5d87199c 100644
--- a/src/pages/demo/components/icon/icon.vue
+++ b/src/pages/demo/components/icon/icon.vue
@@ -9,12 +9,12 @@