|
@@ -50,7 +50,11 @@ const matchingType = () => {
|
|
const isClick = ref(false)
|
|
const isClick = ref(false)
|
|
const leftTap = () => {
|
|
const leftTap = () => {
|
|
isClick.value = true
|
|
isClick.value = true
|
|
- window.postMessage({ key: 'focus', data: { ...props } })
|
|
|
|
|
|
+ window.postMessage({
|
|
|
|
+ type: 'table-form',
|
|
|
|
+ key: 'focus',
|
|
|
|
+ data: { ...props },
|
|
|
|
+ })
|
|
emit('focus', props)
|
|
emit('focus', props)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -63,7 +67,11 @@ const onClickOutside = () => {
|
|
//失去焦点
|
|
//失去焦点
|
|
const onClickBlur = async () => {
|
|
const onClickBlur = async () => {
|
|
await useClick()
|
|
await useClick()
|
|
- window.postMessage({ key: 'blur', data: { ...props } })
|
|
|
|
|
|
+ window.postMessage({
|
|
|
|
+ type: 'table-form',
|
|
|
|
+ key: 'blur',
|
|
|
|
+ data: { ...props },
|
|
|
|
+ })
|
|
emit('blur', props)
|
|
emit('blur', props)
|
|
}
|
|
}
|
|
|
|
|