vue3.0为什么生产出现错误?

vue3.0使用provide时报错
img

再加上provide后会报这个错误

runtime-core.esm-bundler.js?955d:3107 Uncaught (in promise) TypeError: Reflect.ownKeys called on non-object
at Reflect.ownKeys ()

img

SAPF
(in promise)
>Uncaught
Reflect.ownkeys
called
TypeError:
on non-object
atReflect.ownkeys
(<anonymous>
atapplyOptions
(runtime-core.esm-bundler.js955d:3107
atfinishComponentSetup
runtime-core.esm-bundler.js955d:7258)
athandleSetupresult
me-core.esm-bundler.js955d:7211at setupStatefulComponent
(runtime-core.esm-bundler.js955d:7179at setupComponent
(runtime-core.esm-bundler.js955d:7110)
atmountComponent
(runtime-core.esm-bundler.js955d:5109at
processComponent
(runtime-core.esm-bundler.js955d:5084at
patch
(runtime-core.esm-bundler.js955d:4690at
componentEffect
(runtime-core.esm-bundler.js955d:5287

import { provide } from 'vue'
provide是在setup内用的,你直接export了个provide,
provide(name,xxx)这样用