pull/1583/head
parent
baf69e397a
commit
8bbe549b0c
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue