diff --git a/package.json b/package.json index 0ffc5339d..8c940236e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sub-store-front-end", - "version": "2.14.213", + "version": "2.14.214", "private": true, "scripts": { "dev": "vite --host", diff --git a/src/views/SubEditor.vue b/src/views/SubEditor.vue index 4853ff8d9..82f2ce6f5 100644 --- a/src/views/SubEditor.vue +++ b/src/views/SubEditor.vue @@ -826,7 +826,6 @@ const urlValidator = (val: string): Promise => { }; watch([tag, form.subscriptions, subsSelectList], () => { const selected = toRaw(form.subscriptions) || [] - // console.log(`form.subscriptions: ${selected}`) const group = subsSelectList.value.filter(item => shouldShowElement(item[3])).map(item => item[0]) || [] // 1. group 中不包含 selected 中的任何元素, subCheckbox 为 false, subCheckboxIndeterminate 为 false // 2. group 中包含 selected 中的任何元素, subCheckbox 为 true, subCheckboxIndeterminate 为 true @@ -844,7 +843,7 @@ const urlValidator = (val: string): Promise => { subCheckbox.value = false subCheckboxIndeterminate.value = false } - }); + }, { immediate: true }); // const subCheckboxIndeterminate = computed(() => { // const selected = toRaw(form.subscriptions) // const currentGroup = subsSelectList.value.filter(item => shouldShowElement(item[3])).map(item => item[0])