diff --git a/app/components/common/ActionInfo.vue b/app/components/common/ActionInfo.vue index c52f4e0..d89d5a8 100644 --- a/app/components/common/ActionInfo.vue +++ b/app/components/common/ActionInfo.vue @@ -223,7 +223,7 @@ const { $resetNull, $findapi, $insertapi, - $updateapi, + $patchapi, $remove, $deleteapi, $empty, @@ -315,7 +315,7 @@ async function update() { data.link = arr1.length === 0 ? null : arr1; let api = $findapi("useraction"); record = data.id - ? await $updateapi("useraction", { data, values: api.params.values }) + ? await $patchapi("useraction", { data, values: api.params.values }) : await $insertapi("useraction", { data, values: api.params.values }); getValue(); } diff --git a/app/components/common/Note.vue b/app/components/common/Note.vue index 78f2c47..2390023 100644 --- a/app/components/common/Note.vue +++ b/app/components/common/Note.vue @@ -21,7 +21,7 @@