pull/1583/head
lyswhut 2023-09-04 14:21:08 +08:00
parent baf69e397a
commit 8bbe549b0c
1 changed files with 4 additions and 2 deletions

View File

@ -26,8 +26,10 @@ export default {
const rules = ref('')
const handleSave = async() => {
await overwirteDislikeInfo(rules.value)
emit('onRuleUpdate')
if (rules.value.trim() != dislikeInfo.rules.trim()) {
await overwirteDislikeInfo(rules.value)
emit('onRuleUpdate')
}
emit('update:modelValue', false)
}