Commit e0231429 by liuxin

设置默认IconList

parent 33901a98
...@@ -436,6 +436,9 @@ export default { ...@@ -436,6 +436,9 @@ export default {
}, },
created: function () { created: function () {
var IconList = JSON.parse(sessionStorage.getItem("IconList")); var IconList = JSON.parse(sessionStorage.getItem("IconList"));
if(IconList == null){
IconList = ["invoice","receipt"];
}
var list = []; var list = [];
for(let i = 0; i < IconList.length; i++){ for(let i = 0; i < IconList.length; i++){
for(let j = 0; j < this.docgrdDataStore.length; j++){ for(let j = 0; j < this.docgrdDataStore.length; j++){
......
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