Skip to content

vue setup语法糖中多个await的执行顺序 #7934

@JunhaoAlexJiang

Description

@JunhaoAlexJiang

What problem does this feature solve?

vue setup语法糖中如果有多个await,执行顺序是怎样的?是像js那样从上到下执行吗?还是有其他执行顺序

What does the proposed API look like?

<script setup> const a = await fn1() /*coding....*/ const b = await fn2() </script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions