|
|
@ -267,17 +267,16 @@ export default {
|
|
|
|
* @return {string}
|
|
|
|
* @return {string}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
getUniqueDefaultName(notificationKey) {
|
|
|
|
getUniqueDefaultName(notificationKey) {
|
|
|
|
/*
|
|
|
|
|
|
|
|
let index = 1;
|
|
|
|
let index = 1;
|
|
|
|
let name = "";
|
|
|
|
let name = "";
|
|
|
|
do {
|
|
|
|
do {
|
|
|
|
name = this.$t("defaultNotificationName", {
|
|
|
|
name = this.$t("defaultNotificationName", {
|
|
|
|
notification: this.$t(notificationKey).replace(/\(.+\)/, "").trim(),
|
|
|
|
notification: this.notificationNameList[notificationKey].replace(/\(.+\)/, "").trim(),
|
|
|
|
number: index++
|
|
|
|
number: index++
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} while (this.$root.notificationList.find(it => it.name === name));
|
|
|
|
} while (this.$root.notificationList.find(it => it.name === name));
|
|
|
|
return name;*/
|
|
|
|
return name;
|
|
|
|
return "123";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|