Skip to content

🐛 [Bug]:使用axios工具包设计器画布中this.utils.axios报错,实际出码正常 #1715

@sela0629

Description

@sela0629

Environment

chrome

Version

2.8.0

Version

2.8.0

Link to minimal reproduction

Step to reproduce

在资源管理引入工具包 axios,使用 this.utils.axios 调用,在设计器画布中提示 axios undefined。

VM2016:11 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'post') at state.queryData (eval at aF (about:srcdoc:6:22580), <anonymous>:11:64) at Object.onSearch (eval at aF (about:srcdoc:6:22580), <anonymous>:13:18) at index.js:48262:81 at index.js:48210:16 at validateField (index.full.mjs:13142:46)

但出码到本地正常。

What is expected

预期在设计器画布中正常请求,不报错

What is actually happening

No response

What is your project name

TinyEngine

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions