更新 'lib/assets/javascripts/builder/editor.js'

This commit is contained in:
zhongjin 2024-04-09 12:36:05 +08:00
parent d77f5b2a60
commit 390be7effa

View File

@ -1,5 +1,10 @@
var ACTIVE_LOCALE = window.ACTIVE_LOCALE; var ACTIVE_LOCALE = window.ACTIVE_LOCALE;
require('moment');
require('moment/locale/zh-cn');
ACTIVE_LOCALE = 'zh-cn'; ACTIVE_LOCALE = 'zh-cn';
if (ACTIVE_LOCALE !== 'en') { if (ACTIVE_LOCALE !== 'en') {
require('moment/locale/' + ACTIVE_LOCALE); require('moment/locale/' + ACTIVE_LOCALE);