Hi Team:
I found a bug
When I go to firstpage
And go to demo1's subscription-list
if my data has data it is ok to click Actions
but if my init data is empyt it will go back to homepage
to
Subscription List
click
Actions
Redirect to dashboard
but if i refresh at
It is ok
Hi Ting,
It might be related to MenuComponent initialization. Could you please try to call MenuComponent.reinitialization()
function inside your component onMounted?
onMounted(() => {
MenuComponent.reinitialization();
});
Hi Team:
It Works
import { MenuComponent } from "../../assets/ts/components";
onMounted(async () => {
await ApiService.query("get_data", {}).then((response) => {
console.log(response);
data.value = response.data;
});
MenuComponent.reinitialization();
});
Glad to hear that. All the best with your project!