P粉0068477502023-08-25 21:25:27
Error[Vue warn]: injection "Symbol()" not found
Has nothing to do with the code you provided. When using inject: ['injectedVar']
in a nested component, if it is not provided from the parent component, [Vue warn]: injection ... not found
will appear.
So you should check what you are trying to inject and where it needs to be served from. For more information, see the documentation: Provide/Inject