Compare commits
3 Commits
proj/nanni
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
222b254f07 | ||
|
949572c5c3 | ||
|
99cb28eb95 |
@ -826,7 +826,6 @@ function getRequestParameters() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function
|
|
||||||
|
|
||||||
|
|
||||||
function changeRender() {
|
function changeRender() {
|
||||||
|
@ -49,9 +49,15 @@ var initVue = function () {
|
|||||||
newKey.id = this.sm2KeyList.length;
|
newKey.id = this.sm2KeyList.length;
|
||||||
newKey.title = headerVue.shortName;
|
newKey.title = headerVue.shortName;
|
||||||
newKey.sm2Key = this.sm2KeyStr;
|
newKey.sm2Key = this.sm2KeyStr;
|
||||||
|
var exist = false;
|
||||||
|
for (var i=0;i<this.sm2KeyList.length;i++){
|
||||||
|
var iterKey = this.sm2KeyList[i];
|
||||||
|
if (iterKey.sm2Key==newKey.sm2Key)
|
||||||
|
exist = true;
|
||||||
|
}
|
||||||
|
if (!exist)
|
||||||
this.sm2KeyList.push(newKey);
|
this.sm2KeyList.push(newKey);
|
||||||
localStorage.setItem("PrivKeyList", JSON.stringify(this.sm2KeyList));
|
localStorage.setItem("PrivKeyList", JSON.stringify(this.sm2KeyList));
|
||||||
|
|
||||||
getSession();
|
getSession();
|
||||||
listProjects("priv");
|
listProjects("priv");
|
||||||
}
|
}
|
||||||
|
9214
js/jquery-2.1.4.js
vendored
9214
js/jquery-2.1.4.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user