We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renderCustomComponent.vue 中 组件emit派发出去的事件 在 d2-crud.vue 188行没有进行处理无法继续向外emit事件。只能render 形式处理事件
The text was updated successfully, but these errors were encountered:
简单解决 on="item.component && !!item.component.on && item.component.on" 在 render on 添加事件
<render-custom-component v-else-if="item.component && item.component.name" v-model="scope.row[item.key]" :component-name="item.component.name" :props="item.component.props ? item.component.props : null" :scope="scope" on="item.component && !!item.component.on && item.component.on" > </render-custom-component>
render (h) { let self = this return h(self.componentName, { props: { value: self.value, scope: self.scope, ...self.props }, on: self.on ? self.on : {} }) }
Sorry, something went wrong.
No branches or pull requests
renderCustomComponent.vue 中 组件emit派发出去的事件 在 d2-crud.vue 188行没有进行处理无法继续向外emit事件。只能render 形式处理事件
The text was updated successfully, but these errors were encountered: