fix: popover variable error (#1189)

This commit is contained in:
jeremywu 2021-01-04 11:32:51 +08:00 committed by GitHub
parent b68d06bd9d
commit c5f6ec3386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
`)