Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names) <ArkTSCheck> #26

Open
winnxiegang opened this issue Apr 18, 2024 · 2 comments

Comments

@winnxiegang
Copy link

/**

  • 请求首页数据-axios客户端请求
  • @param date
  • @returns
    */
    export function getHomeListAxios(date: string = "") {
    return axiosClient.get({
    url: baseUrl + "api/v2/feed",
    params: { "date": date },
    showLoading: true,
    headers: commonHeader
    })
    }
    params: { "date": date }, 这样写的都报错 希望 有空修改一下
@winnxiegang
Copy link
Author

版本11 仓库

@winnxiegang
Copy link
Author

发现原因了 是加了双引号 键值的 key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant