mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-13 17:05:47 +08:00
fix: popover variable error (#1189)
This commit is contained in:
parent
b68d06bd9d
commit
c5f6ec3386
@ -49,7 +49,7 @@ export default defineComponent({
|
||||
},
|
||||
emits,
|
||||
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, `
|
||||
You cannot init popover without given reference
|
||||
`)
|
||||
|
Loading…
Reference in New Issue
Block a user