@tager/admin-blog 0.3.35 → 0.3.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -4580,7 +4580,7 @@ var script$3 = defineComponent({
|
|
|
4580
4580
|
const isSubmitting = ref(false);
|
|
4581
4581
|
const values = ref(convertCategoryToFormValues(category.value, languageOptionList.value, t));
|
|
4582
4582
|
const errors = ref({});
|
|
4583
|
-
watch(category, () => {
|
|
4583
|
+
watch([category, languageOptionList], () => {
|
|
4584
4584
|
values.value = convertCategoryToFormValues(category.value, languageOptionList.value, t);
|
|
4585
4585
|
});
|
|
4586
4586
|
function submitForm(event) {
|
package/dist/index.umd.js
CHANGED
|
@@ -4580,7 +4580,7 @@
|
|
|
4580
4580
|
const isSubmitting = compositionApi.ref(false);
|
|
4581
4581
|
const values = compositionApi.ref(convertCategoryToFormValues(category.value, languageOptionList.value, t));
|
|
4582
4582
|
const errors = compositionApi.ref({});
|
|
4583
|
-
compositionApi.watch(category, () => {
|
|
4583
|
+
compositionApi.watch([category, languageOptionList], () => {
|
|
4584
4584
|
values.value = convertCategoryToFormValues(category.value, languageOptionList.value, t);
|
|
4585
4585
|
});
|
|
4586
4586
|
function submitForm(event) {
|
package/package.json
CHANGED
|
@@ -210,7 +210,7 @@ export default defineComponent({
|
|
|
210
210
|
);
|
|
211
211
|
const errors = ref<Record<string, string>>({});
|
|
212
212
|
|
|
213
|
-
watch(category, () => {
|
|
213
|
+
watch([category, languageOptionList], () => {
|
|
214
214
|
values.value = convertCategoryToFormValues(
|
|
215
215
|
category.value,
|
|
216
216
|
languageOptionList.value,
|