资源tab定位
This commit is contained in:
parent
7d2ba823e9
commit
c4f4908c62
|
@ -137,8 +137,11 @@ app.controller('MyResourceController', ['$scope', '$http', 'auth', 'config', '$l
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
rms.save("resource_tab_num",vm.currentTab);
|
||||||
}
|
}
|
||||||
|
|
||||||
vm.tab(1);
|
var currentTab = rms.get('resource_tab_num') || 1;
|
||||||
|
|
||||||
|
vm.tab(currentTab);
|
||||||
|
|
||||||
}] );
|
}] );
|
||||||
|
|
Loading…
Reference in New Issue