fix(vue-common): 修复adapter中的mode的传值问题 (#110)
* fix(vue-common): 修复adapter中的mode的传值问题 * fix(vue-common): 修复adapter中的mode的传值问题
This commit is contained in:
parent
f21d114a45
commit
b67a79d570
|
@ -67,7 +67,7 @@ export const $setup = ({ props, context, template, extend = {} }) => {
|
|||
|
||||
export const setup = ({ props, context, renderless, api, extendOptions = {}, mono = false }) => {
|
||||
const render = typeof props.tiny_renderless === 'function' ? props.tiny_renderless : renderless
|
||||
const utils = { $prefix, t, ...tools(context) }
|
||||
const utils = { $prefix, t, ...tools(context, resolveMode(props, context)) }
|
||||
const sdk = render(props, hooks, utils, extendOptions)
|
||||
|
||||
const attrs = {
|
||||
|
|
Loading…
Reference in New Issue