UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

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; }