|
@@ -20,7 +20,6 @@ const components = {
|
|
|
|
|
|
//表单渲染
|
|
|
export default class HTableForm {
|
|
|
-
|
|
|
static createForm({template, tableForm, appId, onRight, onBlur}) {
|
|
|
const _this = this;
|
|
|
const app = createApp({
|
|
@@ -162,9 +161,9 @@ export default class HTableForm {
|
|
|
}
|
|
|
|
|
|
//计算上下左右快捷键的
|
|
|
- static setKeyupData({target}, type, data) {
|
|
|
+ static setKeyupData({target}, type, keys) {
|
|
|
const key = target.id
|
|
|
- const keys = [
|
|
|
+ /*const keys = [
|
|
|
['key_15__3_1', 'key_16__3_3'],
|
|
|
['key_10__4_1', 'key_11__4_3'],
|
|
|
['key_13__5_1'],
|
|
@@ -181,7 +180,7 @@ export default class HTableForm {
|
|
|
['key_4__19_1', 'key_12__19_2'],
|
|
|
['key_21__21_0'],
|
|
|
['key_17__22_1', 'key_17__22_2'],
|
|
|
- ]
|
|
|
+ ]*/
|
|
|
//处理快捷键数据和事件
|
|
|
if (key && type && isArray(keys)) {
|
|
|
//计算当前的位置
|