From 9ce29c536ba2a636416c618761985e2b9a711ee6 Mon Sep 17 00:00:00 2001 From: lxl <lixuliang_hd@126.com> Date: 星期四, 27 十月 2022 14:17:45 +0800 Subject: [PATCH] user --- src/views/Synthesis/orientation.vue | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/views/Synthesis/orientation.vue b/src/views/Synthesis/orientation.vue index 9a83dc7..3a564a4 100644 --- a/src/views/Synthesis/orientation.vue +++ b/src/views/Synthesis/orientation.vue @@ -33,7 +33,21 @@ ], }; }, + created() { + var cover_Id = this.$store.state.syntiesis.menu; + var cover_perms = this.$store.state.permsEntity; + + for (var i = 0; i < cover_perms.length; i++) { + if (cover_perms[i].pid == cover_Id) { + this.showViewMenu(cover_perms[i]); + } + } + }, methods: { + showViewMenu(res) { + if (res.cnName != '瀹氫綅') return; + console.log('瀹氫綅', res.tag); + }, changeOrietnt(res) { var val = { name: 'Coord', -- Gitblit v1.9.3