updated 方言定制失败问题修复

This commit is contained in:
PASSER-BY
2022-10-13 01:33:29 +08:00
parent ab84940618
commit 08feb7355f
10 changed files with 84 additions and 52 deletions

View File

@@ -589,11 +589,11 @@ export function setMode(sign,data){
// 获取模式数据
export function getDataByMode(sign){
var data = Object.assign({},_map);
_data = Object.assign({},_map);
if(sign&&_mode[sign]){
for(var key in _mode[sign]){
data[key] = [].concat(_mode[sign][key],_map[key]||[]);
_data[key] = [].concat(_mode[sign][key],_map[key]||[]);
}
}
return data;
return _data;
};