@ -88,6 +88,7 @@
[nzCheckedKeys]="menuTreeCheckedKeys"
[nzShowLine]="true"
[nzExpandAll]="true"
[nzCheckStrictly]="true"
[nzMultiple]="false"
[nzCheckable]="true"
nzVirtualHeight="500px"
@ -256,9 +256,9 @@ export class SysRoleComponent {
const checkedNodeList = this.nzTreeComponent.getCheckedNodeList();
for (let node of checkedNodeList) {
menuIds.push(node.origin.key);
if (node.origin.children != null) {
/*if (node.origin.children != null) {
menuIds.concat(this.recursionData(node.origin, menuIds))
}
}*/
};
// 半选状态的菜单
@ -87,7 +87,7 @@ export class DiscountEditComponent {
discountNo: [null],
discountName: [null, [Validators.required]],
discountType: [null, [Validators.required]],
overlayDiscount: [null, [Validators.required]],
overlayDiscount: [false, [Validators.required]],
discountPrice: [null, [Validators.required]],
discountCondition: [null],
useScope: [null],
@ -4,7 +4,7 @@
export const environment = {
production: false,
baseUrl: 'https://test-oil.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
baseUrl: 'http://localhost:9802/brest/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://test-oil.dctpay.com/filesystem/',