From ba769e6592fc0ddb8ae24b7a5906c55ce611f684 Mon Sep 17 00:00:00 2001 From: Lu Chaohai Date: Tue, 31 Jul 2018 21:10:38 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E6=AD=A5=EF=BC=9A=E5=AE=9A=E5=88=B6=E8=87=AA=E5=B7=B1=E7=9A=84?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: ce0304d2a56962ad9fe64a12c802c11909457afa [formerly ce0304d2a56962ad9fe64a12c802c11909457afa [formerly ce0304d2a56962ad9fe64a12c802c11909457afa [formerly ce0304d2a56962ad9fe64a12c802c11909457afa [formerly 37d262cdbc810790b833d06503ca0c38d940310c [formerly 2afb0e2f7d7ca0d7ef3df1a34ccbf726786370d6]]]]] Former-commit-id: 5868cdaeb5da645fd4964e4f8d0375e9bd8df178 Former-commit-id: 3742735054ffd6dea30adab4803c9d4187091467 Former-commit-id: 4907c8e6ed8b8769d5f441076d9e4c65474440d9 [formerly 4dab0307c98aef7e71ba749887fbb95a48b12ed5] Former-commit-id: 224a72f5de9cdabacdac076fb58516dbca6a0216 Former-commit-id: 6f1576eec600ef6f192850f449ac6b67e71f30e1 Former-commit-id: 095d0f4d404728bb68ee56e4193ad4d53548a119 Former-commit-id: 9da6f4c2e4c0c2ef4f5ae43b34d9ad1c5f0910c0 Former-commit-id: 7b871cd75a69dfea4053644bc8852db779b67fb6 --- .../components/contextmenu/index.vue | 67 +++++++++++++++++++ .../header-aside/components/tabs/index.vue | 35 +++++++++- 2 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 src/layout/header-aside/components/contextmenu/index.vue diff --git a/src/layout/header-aside/components/contextmenu/index.vue b/src/layout/header-aside/components/contextmenu/index.vue new file mode 100644 index 000000000..deba534dd --- /dev/null +++ b/src/layout/header-aside/components/contextmenu/index.vue @@ -0,0 +1,67 @@ + + + diff --git a/src/layout/header-aside/components/tabs/index.vue b/src/layout/header-aside/components/tabs/index.vue index 8c31778f4..0f91f97ec 100644 --- a/src/layout/header-aside/components/tabs/index.vue +++ b/src/layout/header-aside/components/tabs/index.vue @@ -2,18 +2,24 @@
+ + test + + @edit="handleTabsEdit" + @contextmenu.native="handleContextmenu"> + :name="page.name" + >
@@ -49,7 +55,18 @@ diff --git a/src/layout/header-aside/components/contextmenu/index.vue b/src/layout/header-aside/components/contextmenu/index.vue index deba534dd..c3866ebec 100644 --- a/src/layout/header-aside/components/contextmenu/index.vue +++ b/src/layout/header-aside/components/contextmenu/index.vue @@ -6,12 +6,12 @@ + + diff --git a/src/layout/header-aside/components/contextmenu/index.vue b/src/layout/header-aside/components/contextmenu/index.vue index c3866ebec..12aa07c47 100644 --- a/src/layout/header-aside/components/contextmenu/index.vue +++ b/src/layout/header-aside/components/contextmenu/index.vue @@ -3,17 +3,7 @@
- + + + diff --git a/src/layout/header-aside/components/tabs/index.vue b/src/layout/header-aside/components/tabs/index.vue index f4137be7f..97491e59e 100644 --- a/src/layout/header-aside/components/tabs/index.vue +++ b/src/layout/header-aside/components/tabs/index.vue @@ -2,8 +2,13 @@
- - + + - + :name="page.name"/>
From 8230c5562902df789aa4568a76e075f4464c3f8b Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Wed, 1 Aug 2018 16:28:26 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=A3=8E=E6=A0=BC?= =?UTF-8?q?=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: ff6dcea49152011f7ffadf67b3439a772dadf70c [formerly ff6dcea49152011f7ffadf67b3439a772dadf70c [formerly ff6dcea49152011f7ffadf67b3439a772dadf70c [formerly ff6dcea49152011f7ffadf67b3439a772dadf70c [formerly 036ab14e128b321b4a4f17972e276cffb62b4cf1 [formerly d24e01dcd8ef7f71d7e4b2f3e01b5b5b5f0d69de]]]]] Former-commit-id: f5fc086d537466936ac404d4640381a99b9700e9 Former-commit-id: 8da9ee34c4814c6880e8cbb17a1c8f3c901c11f6 Former-commit-id: 074ba19730618a3f4e68ad553a5aa363efe5a21f [formerly 596f38d6e42274034b180513447dcf7bcacef2b3] Former-commit-id: af1c1e83fc7e2136a1209548ce2f7dc49023847d Former-commit-id: b3e4c457de4dabd533a2bd0df8723bf4b82a09b7 Former-commit-id: 073a989e801e02ccf52b67eb8e93fc512c021447 Former-commit-id: d7dee6ae60cadd4655536af792089ea468657033 Former-commit-id: e4c72e70c50356888fbeeebf4c92f4418dd97359 --- .../components/contentmenuList/index.vue | 22 ++++++++-- .../components/contextmenu/index.vue | 9 ++-- .../header-aside/components/tabs/index.vue | 43 +++++++------------ 3 files changed, 40 insertions(+), 34 deletions(-) diff --git a/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue b/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue index d8deb488e..d3ce5f407 100644 --- a/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue +++ b/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue @@ -1,14 +1,28 @@