fix(vue-common): 修复adapter中的mode的传值问题 (#110)

* fix(vue-common): 修复adapter中的mode的传值问题

* fix(vue-common): 修复adapter中的mode的传值问题
This commit is contained in:
申君健 2023-04-06 23:07:18 -07:00 committed by GitHub
parent f21d114a45
commit b67a79d570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {