js code
requirejs.config({
baseUrl :...,
shim : {
'zhCN' : [ 'jquery' ],
'easyui' : [ 'jquery' ],
...
},
paths:{
easyui : 'EasyUI/jquery.easyui.min',
zhCN : 'EasyUI/locale/easyui-lang-zh_CN',
...
}
});
require([ 'jquery','zhCN', 'easyui'],function($){...});
The datebox and datagrid functions of easyui are normal, but they are not in Chinese.
Are there any dependencies between zhCN and easyui? If so, try adding the dependencies between these two in the shim?