mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
fix: popover variable error (#1189)
This commit is contained in:
parent
b68d06bd9d
commit
c5f6ec3386
@ -49,7 +49,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
emits,
|
emits,
|
||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
if (process.env.NODE_EVN !== 'production' && props.visible && !ctx.slots.reference) {
|
if (process.env.NODE_ENV !== 'production' && props.visible && !ctx.slots.reference) {
|
||||||
warn(NAME, `
|
warn(NAME, `
|
||||||
You cannot init popover without given reference
|
You cannot init popover without given reference
|
||||||
`)
|
`)
|
||||||
|
Loading…
Reference in New Issue
Block a user