update 优化 支持前端返回节点扩展数据(按钮权限 抄送人 扩展变量)
This commit is contained in:
@@ -173,7 +173,7 @@ const computedIds = (data) => {
|
||||
} else if (typeof data === 'string') {
|
||||
return data.split(',');
|
||||
} else if (typeof data === 'number') {
|
||||
return [data];
|
||||
return [String(data)];
|
||||
} else {
|
||||
console.warn('<UserSelect> The data type of data should be array or string or number, but I received other');
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user