This commit is contained in:
parent
6c13392998
commit
69f7d15ee9
|
|
@ -1120,9 +1120,19 @@ const getDetail = async () => {
|
|||
}
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
watch(
|
||||
() => route.query.monthlyPlanId,
|
||||
(newId) => {
|
||||
if (newId) {
|
||||
getDetail()
|
||||
})
|
||||
}
|
||||
},
|
||||
{ immediate: true },
|
||||
)
|
||||
|
||||
// onMounted(() => {
|
||||
// getDetail()
|
||||
// })
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
|
|
|||
Loading…
Reference in New Issue