changes
This commit is contained in:
@@ -315,8 +315,8 @@ async function update() {
|
||||
data.link = arr1.length === 0 ? null : arr1;
|
||||
let api = $findapi("useraction");
|
||||
record = data.id
|
||||
? await $updateapi("useraction", data, api.params.values)
|
||||
: await $insertapi("useraction", data, api.params.values);
|
||||
? await $updateapi("useraction", { data, values: api.params.values })
|
||||
: await $insertapi("useraction", { data, values: api.params.values });
|
||||
getValue();
|
||||
}
|
||||
async function removeImage(v, i) {
|
||||
|
||||
Reference in New Issue
Block a user