【问题标题】:iam using eslint and ihave a dobut about destructuring so how can i destructure this (this.props.location?.state?.selectedLineItemType,)我正在使用 eslint,我对解构有疑问,所以我该如何解构它(this.props.location?.state?.selectedLine ItemType,)
【发布时间】:2022-11-07 15:15:06
【问题描述】:

this.props.location?.state?.selectedLineItemType,任何人都知道如何解构这条线,如果有人知道请帮我解决这个问题谢谢

【问题讨论】:

  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如它目前所写的那样,很难准确地说出你在问什么。

标签: eslint


【解决方案1】:

我只有关于如何解构的上述问题的解决方案 常量 { 位置 } = this.props;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-25
    • 1970-01-01
    • 2019-05-25
    • 1970-01-01
    • 2022-07-11
    • 2021-03-19
    相关资源
    最近更新 更多