Fixed #5010 - Tooltip: missing nonce for inline styles
parent
1c659292e3
commit
48fe190625
|
@ -122,8 +122,8 @@ const BaseDirective = {
|
||||||
beforeMount: (el, binding, vnode, prevVnode) => {
|
beforeMount: (el, binding, vnode, prevVnode) => {
|
||||||
const config = BaseDirective._getConfig(binding, vnode);
|
const config = BaseDirective._getConfig(binding, vnode);
|
||||||
|
|
||||||
BaseStyle.loadStyle(undefined, { nonce: config?.csp?.nonce });
|
BaseStyle.loadStyle({ nonce: config?.csp?.nonce });
|
||||||
!el.$instance?.isUnstyled() && el.$instance?.$style?.loadStyle(undefined, { nonce: config?.csp?.nonce });
|
!el.$instance?.isUnstyled() && el.$instance?.$style?.loadStyle({ nonce: config?.csp?.nonce });
|
||||||
handleHook('beforeMount', el, binding, vnode, prevVnode);
|
handleHook('beforeMount', el, binding, vnode, prevVnode);
|
||||||
},
|
},
|
||||||
mounted: (el, binding, vnode, prevVnode) => {
|
mounted: (el, binding, vnode, prevVnode) => {
|
||||||
|
|
Loading…
Reference in New Issue