Merge branch 'develop' into devTee
This commit is contained in:
commit
dff40749f8
1 changed files with 4 additions and 1 deletions
|
|
@ -97,8 +97,11 @@ async function fetchDataCommandList() {
|
|||
* กำหนดค่า `store.readonly` เมื่อ route.name เป็น "commandViewDetailPage" จะอ่านข้อมูลได้อย่างเดียว
|
||||
*/
|
||||
onMounted(async () => {
|
||||
store.readonly = route.name === "commandViewDetailPage";
|
||||
await fetchDataCommandList();
|
||||
store.readonly =
|
||||
route.name === "commandViewDetailPage" ||
|
||||
formCommandList.status === "REPORTED" ||
|
||||
formCommandList.status === "WAITING";
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue