feat: enhance RemarkExpansion component and improve watch function syntax
This commit is contained in:
parent
1479320e96
commit
bf336cbd06
2 changed files with 7 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ import { RequestWork } from 'src/stores/request-list';
|
|||
import { convertTemplate } from 'src/utils/string-template';
|
||||
import { computed } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import { MainButton } from 'src/components/button';
|
||||
|
||||
const props = defineProps<{
|
||||
readonly?: boolean;
|
||||
|
|
|
|||
|
|
@ -735,9 +735,12 @@ function sortList(
|
|||
});
|
||||
}
|
||||
|
||||
watch([currentFormData.value.taskStatus], () => {
|
||||
fetchStatus();
|
||||
});
|
||||
watch(
|
||||
() => [currentFormData.value.taskStatus],
|
||||
() => {
|
||||
fetchStatus();
|
||||
},
|
||||
);
|
||||
</script>
|
||||
<template>
|
||||
<div class="column surface-0 fullscreen">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue