IDuxFE/idux

[table] 树表格的勾选,在初始化赋值时未做到级联

threedayAAAAA opened this issue · 1 comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://playground.idux.site/#eyJQbGF5Z3JvdW5kQXBwLnZ1ZSI6Ijx0ZW1wbGF0ZT5cbiAgPEl4RHJhd2VyUHJvdmlkZXI+XG4gICAgPEl4Tm90aWZpY2F0aW9uUHJvdmlkZXI+XG4gICAgICA8SXhNb2RhbFByb3ZpZGVyPlxuICAgICAgICA8SXhNZXNzYWdlUHJvdmlkZXI+XG4gICAgICAgICAgPEFwcCAvPlxuICAgICAgICA8L0l4TWVzc2FnZVByb3ZpZGVyPlxuICAgICAgPC9JeE1vZGFsUHJvdmlkZXI+XG4gICAgPC9JeE5vdGlmaWNhdGlvblByb3ZpZGVyPlxuICA8L0l4RHJhd2VyUHJvdmlkZXI+XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0IGxhbmc9XCJ0c1wiIHNldHVwPlxuaW1wb3J0IHsgc2V0dXBJZHV4IH0gZnJvbSAnLi9zZXR1cElkdXguanMnXG5pbXBvcnQgQXBwIGZyb20gJy4vQXBwLnZ1ZSdcbnNldHVwSWR1eCgpXG48L3NjcmlwdD5cbiIsIkFwcC52dWUiOiI8dGVtcGxhdGU+XG4gIHt7YX19XG4gIDxJeFRhYmxlIDpjb2x1bW5zPVwiY29sdW1uc1wiIDpkYXRhU291cmNlPVwiZGF0YVwiIHYtbW9kZWw6c2VsZWN0ZWQtcm93LWtleXM9XCJhXCI+XG4gICAgPHRlbXBsYXRlICNuYW1lPVwieyB2YWx1ZSB9XCI+XG4gICAgICA8SXhCdXR0b24gbW9kZT1cImxpbmtcIj57eyB2YWx1ZSB9fTwvSXhCdXR0b24+XG4gICAgPC90ZW1wbGF0ZT5cbiAgICA8dGVtcGxhdGUgI2FjdGlvbj1cInsgcmVjb3JkIH1cIj5cbiAgICAgIDxJeEJ1dHRvbkdyb3VwIDpnYXA9XCI4XCIgbW9kZT1cImxp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duOiAnZW5kJyxcbiAgICBzb3J0YWJsZToge1xuICAgICAgc29ydGVyOiAoY3VyciwgbmV4dCkgPT4gY3Vyci5jbnQgLSBuZXh0LmNudCxcbiAgICB9LFxuICB9LFxuICB7XG4gICAgdGl0bGU6ICdBY3Rpb24nLFxuICAgIGtleTogJ2FjdGlvbicsXG4gICAgY3VzdG9tQ2VsbDogJ2FjdGlvbicsXG4gIH0sXG5dXG5cbmNvbnN0IGRhdGE6IERhdGFbXSA9IFtcbiAge1xuICAgIGtleTogJzEnLFxuICAgIGV2ZW50TmFtZTogJ2V2ZW50IEEnLFxuICAgIGRlc2M6ICd0aGlzIGlzIGV2ZW50IEEnLFxuICAgIGNudDogMyxcbiAgICB0YWdzOiBbJ2F0dGFjaycsICdzeXN0ZW0nLCAnY3JlYXRlciddLFxuICAgIGNoaWxkcmVuOiBbXG4gICAgICB7XG4gICAgICAgIGtleTogJzEtMScsXG4gICAgICAgIGV2ZW50TmFtZTogJ3N1YiBldmVudCBBMScsXG4gICAgICAgIGRlc2M6ICd0aGlzIGlzIHN1YiBldmVudCBBMScsXG4gICAgICAgIGNudDogOCxcbiAgICAgICAgdGFnczogWydpbmZpbHRyYXRlJ10sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBrZXk6ICcxLTInLFxuICAgICAgICBldmVudE5hbWU6ICdzdWIgZXZlbnQgQTInLFxuICAgICAgICBkZXNjOiAndGhpcyBpcyBzdWIgZXZlbnQgQTInLFxuICAgICAgICBjbnQ6IDE4LFxuICAgICAgICB0YWdzOiBbJ2RhbWFnZSddLFxuICAgICAgICBjaGlsZHJlbjogW1xuICAgICAgICAgIHtcbiAgICAgICAgICAgIGtleTogJzEtMi0xJyxcbiAgICAgICAgICAgIGV2ZW50TmFtZTogJ3N1YiBldmVudCBBMi0xJyxcbiAgICAgICAgICAgIGRlc2M6ICd0aGlzIGlzIHN1YiBldmVudCBBMi0xJyxcbiAgICAgICAgICAgIGNudDogMixcbiAgICAgICAgICAgIHRhZ3M6IFsnYXR0YWNrJ10sXG4gICAgICAgICAgfSxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBrZXk6ICcxLTItMicsXG4gICAgICAgICAgICBldmVudE5hbWU6ICdzdWIgZXZlbnQgQTItMicsXG4gICAgICAgICAgICBkZXNjOiAndGhpcyBpcyBzdWIgZXZlbnQgQTItMicsXG4gICAgICAgICAgICBjbnQ6IDMsXG4gICAgICAgICAgICB0YWdzOiBbJ2RhbWFnZSddLFxuICAgICAgICAgIH0sXG4gICAgICAgICAge1xuICAgICAgICAgICAga2V5OiAnMS0yLTMnLFxuICAgICAgICAgICAgZXZlbnROYW1lOiAnc3ViIGV2ZW50IEEyLTMnLFxuICAgICAgICAgICAgZGVzYzogJ3RoaXMgaXMgc3ViIGV2ZW50IEEyLTMnLFxuICAgICAgICAgICAgY250OiAxLFxuICAgICAgICAgICAgdGFnczogWydpbmZpbHRyYXRlJ10sXG4gICAgICAgICAgfSxcbiAgICAgICAgXSxcbiAgICAgIH0sXG4gICAgICB7XG4gICAgICAgIGtleTogJzEtMycsXG4gICAgICAgIGV2ZW50TmFtZTogJ3N1YiBldmVudCBBMycsXG4gICAgICAgIGRlc2M6ICd0aGlzIGlzIHN1YiBldmVudCBBMycsXG4gICAgICAgIGNudDogMSxcbiAgICAgICAgdGFnczogWydzeXN0ZW0nXSxcbiAgICAgIH0sXG4gICAgXSxcbiAgfSxcbiAge1xuICAgIGtleTogJzInLFxuICAgIGV2ZW50TmFtZTogJ2V2ZW50IEInLFxuICAgIGRlc2M6ICd0aGlzIGlzIGV2ZW50IEInLFxuICAgIGNudDogMTAsXG4gICAgdGFnczogWydkYW1hZ2UnLCAnc3lzdGVtJywgJ2NyZWF0ZXInXSxcbiAgICBjaGlsZHJlbjogW1xuICAgICAge1xuICAgICAgICBrZXk6ICcyLTEnLFxuICAgICAgICBldmVudE5hbWU6ICdzdWIgZXZlbnQgQjEnLFxuICAgICAgICBkZXNjOiAndGhpcyBpcyBzdWIgZXZlbnQgQjEnLFxuICAgICAgICBjbnQ6IDIzLFxuICAgICAgICB0YWdzOiBbJ2luZmlsdHJhdGUnXSxcbiAgICAgIH0sXG4gICAgICB7XG4gICAgICAgIGtleTogJzItMicsXG4gICAgICAgIGV2ZW50TmFtZTogJ3N1YiBldmVudCBCMicsXG4gICAgICAgIGRlc2M6ICd0aGlzIGlzIHN1YiBldmVudCBCMicsXG4gICAgICAgIGNudDogMjIsXG4gICAgICAgIHRhZ3M6IFsnZGFtYWdlJ10sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBrZXk6ICcyLTMnLFxuICAgICAgICBldmVudE5hbWU6ICdzdWIgZXZlbnQgQjMnLFxuICAgICAgICBkZXNjOiAndGhpcyBpcyBzdWIgZXZlbnQgQjMnLFxuICAgICAgICBjbnQ6IDcsXG4gICAgICAgIHRhZ3M6IFsnYXR0YWNrJ10sXG4gICAgICB9LFxuICAgIF0sXG4gIH0sXG4gIHtcbiAgICBrZXk6ICczJyxcbiAgICBldmVudE5hbWU6ICdldmVudCBDJyxcbiAgICBkZXNjOiAndGhpcyBpcyBldmVudCBDJyxcbiAgICBjbnQ6IDUsXG4gICAgdGFnczogWydpbmZpbHRyYXRlJ10sXG4gIH0sXG5dXG4gIGNvbnN0IGEgPSByZWYoWycxLTInXSlcbiAgICAgICAgXG4gICAgICAgIFxuICAgICAgICBcbiAgICAgICAgXG4gICAgICAgIFxuICAgICAgICBcbiAgICAgICAgXG4gICAgICAgIFxuICAgICAgICBcbiAgICAgICAgXG4gICAgICAgIFxuICAgICAgICBcbiAgICAgICAgXG4gICAgICAgIFxuICAgICAgICBcbiAgICAgICAgXG48L3NjcmlwdD5cbiJ9

Steps to reproduce

同上

What is expected?

初始化赋值时能级联子项的勾选

What is actually happening?

初始化赋值未级联

Environment Info

"@idux/cdk": "1.8.1",
"@idux/components": "1.8.1",
"@idux/pro": "1.8.1",

Any additional comments? (optional)

Translation of this issue:

[Table] The check of the tree table grid, did not achieve the grade association when initialized

REPRODUCTION LINK

STEPS To Reproduce

Above

What is exfected?

When initialized assignment, the thorny coupling item checks

What is actually happy?

Initialized assignment value unconcerned

ENVIRONMENT Info

"@IDUX/CDK": "1.8.1",
"@IDUX/Components": "1.8.1",
"@IDUX/Pro": "1.8.1",

ANY Additional Comments? (Optional)