fix(VnCard): conditionally update card descriptor based on visual prop
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0748a2728c
commit
e30232741f
|
@ -33,7 +33,7 @@ onBeforeRouteLeave(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
stateStore.cardDescriptorChangeValue(markRaw(props.descriptor));
|
if (props.visual) stateStore.cardDescriptorChangeValue(markRaw(props.descriptor));
|
||||||
|
|
||||||
const route = router.currentRoute.value;
|
const route = router.currentRoute.value;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue