From cb4c8706eb48183ac8875d92d4a950ad6b6675a2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 18 三月 2020 11:01:11 +0800 Subject: [PATCH] 2020-03-18 --- src/tabviews/commontable/index.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index 5fb9c5f..921a207 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -13,7 +13,7 @@ import asyncLoadComponent from '@/utils/asyncLoadComponent' import {refreshTabView, modifyTabview} from '@/store/action' -import MainTable from './mainTable' +import MainTable from '@/tabviews/tableshare/normalTable' import MainAction from '@/tabviews/tableshare/actionList' import VerifyCard from '@/tabviews/tableshare/verifycard' import MainSearch from '@/tabviews/tableshare/topSearch' @@ -289,7 +289,7 @@ let istrigger = false actions.forEach(item => { - if (!item.shortcut || typeof(item.shortcut) !== 'object' || istrigger) return + if (!item.shortcut || typeof(item.shortcut) !== 'object' || item.shortcut.length === 0 || istrigger) return if (preKey === item.shortcut[0] && keyCode === item.shortcut[1]) { e.preventDefault() @@ -1005,6 +1005,7 @@ } <MainTable ref="mainTable" + tableId="mainTable" pickup={pickup} setting={setting} columns={columns} -- Gitblit v1.8.0