vue setup语法糖中多个await的执行顺序 #7935
Unanswered
JunhaoAlexJiang
asked this question in
Help/Questions
Replies: 1 comment
-
Of course, I provide a simple demo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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>Beta Was this translation helpful? Give feedback.
All reactions