diff --git a/js/commonutil.js b/js/commonutil.js index dc12c64..0dee959 100644 --- a/js/commonutil.js +++ b/js/commonutil.js @@ -49,9 +49,15 @@ var initVue = function () { newKey.id = this.sm2KeyList.length; newKey.title = headerVue.shortName; newKey.sm2Key = this.sm2KeyStr; - this.sm2KeyList.push(newKey); + var exist = false; + for (var i=0;i