changes
This commit is contained in:
@@ -120,7 +120,7 @@ const props = defineProps({
|
||||
data: Object,
|
||||
focus: Boolean,
|
||||
});
|
||||
const { $empty, $copy, $copyToClipboard, $stripHtml, $updateapi, $insertapi, $findIndex, $snackbar } = useNuxtApp();
|
||||
const { $empty, $copy, $copyToClipboard, $stripHtml, $patchapi, $insertapi, $findIndex, $snackbar } = useNuxtApp();
|
||||
const radioOption = ref();
|
||||
const login = { id: 1 };
|
||||
const errors = ref([]);
|
||||
@@ -180,7 +180,7 @@ async function saveSetting() {
|
||||
detail,
|
||||
update_time: new Date(),
|
||||
};
|
||||
result = await $updateapi("usersetting", updatedSetting);
|
||||
result = await $patchapi("usersetting", updatedSetting);
|
||||
}
|
||||
isLoading.value = false;
|
||||
if (radioSave.value === "new") {
|
||||
|
||||
Reference in New Issue
Block a user