Commit 6213f9d3 authored by techird's avatar techird

修复 uuid bug

parent d4b0915d
......@@ -6,7 +6,8 @@ define(function(require, exports) {
exports.each = kity.Utils.each.bind(kity.Utils);
exports.uuid = function(group) {
return uuidMap[group] = uuidMap[group] ? uuidMap[group] + 1 : 1;
uuidMap[group] = uuidMap[group] ? uuidMap[group] + 1 : 1;
return group + uuidMap[group];
};
exports.guid = function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment