提交 b5a7bba8 编写于 作者: inkwalk's avatar inkwalk

fix(app): showActionSheet init i18n

上级 18731edc
......@@ -6,7 +6,7 @@ import {
defineAsyncApi,
} from '@dcloudio/uni-api'
import { extend } from '@vue/shared'
import { useI18n } from '@dcloudio/uni-core'
import { initI18nShowActionSheetMsgsOnce, useI18n } from '@dcloudio/uni-core'
export const showActionSheet = defineAsyncApi<API_TYPE_SHOW_ACTION_SHEET>(
API_SHOW_ACTION_SHEET,
......@@ -20,6 +20,7 @@ export const showActionSheet = defineAsyncApi<API_TYPE_SHOW_ACTION_SHEET>(
},
{ resolve, reject }
) => {
initI18nShowActionSheetMsgsOnce()
const { t } = useI18n()
const options = {
title,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册