Compare commits
No commits in common. "ccd31ccb154d9acb3c23707fba37aa1e6893fdf1" and "1b15223863d7d75b28d3d95af51424d068bf0378" have entirely different histories.
ccd31ccb15
...
1b15223863
|
|
@ -64,7 +64,7 @@
|
|||
"husky": "^7.0.4",
|
||||
"less": "^4.2.0",
|
||||
"mockjs": "^1.1.0",
|
||||
|
||||
"open-data-v": "link:src",
|
||||
"postcss": "^8.4.28",
|
||||
"postcss-html": "^1.5.0",
|
||||
"postcss-less": "^6.0.0",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ const resizeHandler = (entry: ResizeObserverEntry) => {
|
|||
}
|
||||
|
||||
const dataHandler = (event) => {
|
||||
console.log(event)
|
||||
const item: Record<string, any> = event as Record<string, any>
|
||||
if (propValue.base.tag && item[propValue.base.tag] !== undefined) {
|
||||
customeText.value = item[propValue.base.tag]
|
||||
|
|
@ -48,7 +47,7 @@ onMounted(async () => {
|
|||
}
|
||||
})
|
||||
|
||||
useEventBus('39bcfcba452344dea4f34e9d068a8f6e', dataHandler)
|
||||
useEventBus('globalData', dataHandler)
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
|
|
|||
|
|
@ -53,8 +53,6 @@ const dataChange = (resp: any, _?: string) => {
|
|||
const propValue = props.component.propValue
|
||||
const myChannel = propValue.dataOption.channel
|
||||
const channel = myChannel ? myChannel : props.component.id
|
||||
console.log(data)
|
||||
console.log(channel)
|
||||
if (propValue.isRegExp) {
|
||||
const keys = Object.keys(channels)
|
||||
const matchReg = new RegExp(channel)
|
||||
|
|
|
|||
Loading…
Reference in New Issue