多租户版本点击新增按钮和关闭dialog时控制台警告能否处理一下

提问 未结 2 82
张亮528
张亮528 VIP3 2022-01-07
悬赏:20积分
版本:renren-cloud 3.5 开发环境:chrome
runtime-core.esm-bundler.js:6871 [Vue warn]: Extraneous non-emits event listeners (refreshDataList) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option. at <ElDialog modelValue=false onUpdate:modelValue=fn title="新增" ... > at <UserAddOrUpdate key=0 ref="addOrUpdate" onRefreshDataList=fn<getDataList> > at <User onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy {…} > key="/sys/user" > at <KeepAlive key=0 > at <RouterView> at <ElCard shadow="never" class="rr-view-ctx-card" > at <View> at <ElMain class="rr-view" > at <ElContainer class="rr-view-container" > at <ElContainer class="rr-body" > at <ElContainer class="rr ui-sidebar-dark ui-topHeader-primary ui-themeColor-#17B3A3 ui-navLayout-left ui-contentFull-true ui-logoAuto-false ui-colorIcon-false ui-sidebarUniOpened-true ui-openTabsPage-true ui-tabStyle-default ui-sidebarCollapse-false" element-loading-background="#0000" element-loading-lock="true" ... > at <Layout key=0 > at <ElConfigProvider locale= {name: 'zh-cn', el: {…}} > at <App>
回帖