/// <summary> /// 初始化 /// </summary> private void InitParas() { treeViewItemTemplate = this.Resources["NodeTemplate"] as DataTemplate; //绑定系统类型 client.GetSysDictionaryByCategoryAsync("SYSTEMTYPE"); client.GetSysPermissionAllAsync(); SetToolBar(); }