Commit a4ee149f by haojie

每次进入创建直播页面都重新请求音调列表

parent ae9e4f73
...@@ -640,9 +640,9 @@ onMounted(async () => { ...@@ -640,9 +640,9 @@ onMounted(async () => {
[createLiveKeys.scriptType]: currentOption.value, [createLiveKeys.scriptType]: currentOption.value,
}); });
if (isFirstRequestAction.value) {
// 获取音色音调列表 // 获取音色音调列表
getList(); getList();
if (isFirstRequestAction.value) {
getAction(); getAction();
isFirstRequestAction.value = false; isFirstRequestAction.value = false;
} }
...@@ -651,6 +651,7 @@ onMounted(async () => { ...@@ -651,6 +651,7 @@ onMounted(async () => {
onActivated(() => { onActivated(() => {
if (!isFirstRequestAction.value) { if (!isFirstRequestAction.value) {
getAction(); getAction();
getList();
} }
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment