no message
Former-commit-id: a98f0dc7f8c8202102557ec44a29081de09ef657 [formerly a98f0dc7f8c8202102557ec44a29081de09ef657 [formerly a98f0dc7f8c8202102557ec44a29081de09ef657 [formerly a98f0dc7f8c8202102557ec44a29081de09ef657 [formerly f244e1fdd164c1b79a79bb5a6b747ee86b9d8589 [formerly 9a88fe535b9d40bff1dcca1e9c312ab81c0961b5]]]]] Former-commit-id: 80f45f42407a12231dcb32861eae95da8b8f27d5 Former-commit-id: 294d0beb7890b73dd462900f6634b9ed43dda50b Former-commit-id: f639bbc1de8e27b18262e84545ff22b8556c402a [formerly 0f01b98c3d1b41eaa511bb56813d860105da930f] Former-commit-id: 9a33c6b83d309a76711c4fad397c149dac55a8b5 Former-commit-id: f556363312d2e505acc24ec531e787fc3863f9fc Former-commit-id: 4433f382bc7c25d437eabfab96e4a7b0dbca28b5 Former-commit-id: eb558eb22372f558e8d93ae8dac07c40016e2644 Former-commit-id: 963b8effbe52965ae14a77172a37c50dcfd6cf56
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState, mapMutations } from 'vuex'
|
||||
import { mapState, mapActions } from 'vuex'
|
||||
export default {
|
||||
components: {
|
||||
D2Contextmenu: () => import('../contextmenu'),
|
||||
@@ -89,7 +89,7 @@ export default {
|
||||
])
|
||||
},
|
||||
methods: {
|
||||
...mapMutations('d2admin/page', [
|
||||
...mapActions('d2admin/page', [
|
||||
'close',
|
||||
'closeLeft',
|
||||
'closeRight',
|
||||
@@ -101,7 +101,6 @@ export default {
|
||||
*/
|
||||
handleContextmenu (event) {
|
||||
let target = event.target
|
||||
|
||||
// 解决 https://github.com/d2-projects/d2-admin/issues/54
|
||||
let flag = false
|
||||
if (target.className.indexOf('el-tabs__item') > -1) flag = true
|
||||
@@ -109,7 +108,6 @@ export default {
|
||||
target = target.parentNode
|
||||
flag = true
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
|
||||
Reference in New Issue
Block a user