UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

13 lines 431 B
import _extends from "@babel/runtime/helpers/esm/extends"; import defaultLocale from '../locale/en_US'; let runtimeLocale = _extends({}, defaultLocale.Modal); export function changeConfirmLocale(newLocale) { if (newLocale) { runtimeLocale = _extends(_extends({}, runtimeLocale), newLocale); } else { runtimeLocale = _extends({}, defaultLocale.Modal); } } export function getConfirmLocale() { return runtimeLocale; }