🐛 Fixed sync toast prompt
This commit is contained in:
parent
c8568ae15a
commit
b450cd7ee4
2 changed files with 4 additions and 4 deletions
|
|
@ -59,7 +59,7 @@ export default {
|
|||
.signInWithPopup(provider)
|
||||
.then(res => {
|
||||
if (res.additionalUserInfo.isNewUser) {
|
||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
||||
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||
icon: "sync",
|
||||
duration: null,
|
||||
closeOnSwipe: false,
|
||||
|
|
@ -88,7 +88,7 @@ export default {
|
|||
.signInWithPopup(provider)
|
||||
.then(res => {
|
||||
if (res.additionalUserInfo.isNewUser) {
|
||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
||||
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||
icon: "sync",
|
||||
duration: null,
|
||||
closeOnSwipe: false,
|
||||
|
|
|
|||
|
|
@ -398,7 +398,7 @@ export default {
|
|||
.signInWithPopup(provider)
|
||||
.then(res => {
|
||||
if (res.additionalUserInfo.isNewUser) {
|
||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
||||
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||
icon: "sync",
|
||||
duration: null,
|
||||
closeOnSwipe: false,
|
||||
|
|
@ -427,7 +427,7 @@ export default {
|
|||
.signInWithPopup(provider)
|
||||
.then(res => {
|
||||
if (res.additionalUserInfo.isNewUser) {
|
||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
||||
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||
icon: "sync",
|
||||
duration: null,
|
||||
closeOnSwipe: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue