This commit is contained in:
zsxeee 2021-09-22 16:13:23 +08:00
parent 601204ae77
commit 6e55c44773
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
4 changed files with 5 additions and 6 deletions

View file

@ -108,7 +108,6 @@ export default {
watch: {
"notification.type"(to, from) {
let oldName;
console.log(this.$root.notificationList)
if (from) {
oldName = this.getUniqueDefaultName(from);
} else {
@ -193,7 +192,7 @@ export default {
})
},
/**
* @param {string} notificationKey
* @param {keyof NotificationFormList} notificationKey
* @return {string}
*/
getUniqueDefaultName(notificationKey) {