Skip to content

RightContent组件中调用api中方法报错Cannot find module './viewsBasicLayout' #1091

@TengChongChong

Description

@TengChongChong

Question (问题描述)
How to use component s-table paging
我在RightContent的methods中调用了api中定义的一个方法
image

会报如下错误
image
只要methods中写了api中的方法不调用也会报错,后就不报错。api中方法在views中的组件可以正常使用

Describe the solution you'd like (你期待的是什么?)
A clear and concise description of what you want to happen.
如何在RightContent中使用api中定义方法?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions