mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
import VueBootstrapToasts test
This commit is contained in:
parent
552b31f77a
commit
5ae484fcb8
@ -59,6 +59,7 @@
|
|||||||
"sweetalert2": "^9.5.4",
|
"sweetalert2": "^9.5.4",
|
||||||
"vee-validate": "^3.4.5",
|
"vee-validate": "^3.4.5",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11",
|
||||||
|
"vue-bootstrap-toasts": "^1.0.7",
|
||||||
"vue-bootstrap-typeahead": "^0.2.6",
|
"vue-bootstrap-typeahead": "^0.2.6",
|
||||||
"vue-chartjs": "^3.5.0",
|
"vue-chartjs": "^3.5.0",
|
||||||
"vue-cli-plugin-i18n": "^1.0.1",
|
"vue-cli-plugin-i18n": "^1.0.1",
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<div class="">
|
<div class="">
|
||||||
<particles-bg type="custom" :config="config" :bg="true" />
|
<particles-bg type="custom" :config="config" :bg="true" />
|
||||||
<component :is="$route.meta.requiresAuth ? 'DashboardLayout' : 'AuthLayoutGDD'" />
|
<component :is="$route.meta.requiresAuth ? 'DashboardLayout' : 'AuthLayoutGDD'" />
|
||||||
|
<Toasts></Toasts>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -13,8 +13,10 @@ import SideBar from '@/components/SidebarPlugin'
|
|||||||
|
|
||||||
import PortalVue from 'portal-vue'
|
import PortalVue from 'portal-vue'
|
||||||
|
|
||||||
|
import VueBootstrapToasts from 'vue-bootstrap-toasts'
|
||||||
|
|
||||||
// vue-bootstrap
|
// vue-bootstrap
|
||||||
import { BootstrapVue, IconsPlugin, ToastPlugin } from 'bootstrap-vue'
|
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
|
||||||
|
|
||||||
// asset imports
|
// asset imports
|
||||||
import '@/assets/scss/argon.scss'
|
import '@/assets/scss/argon.scss'
|
||||||
@ -52,7 +54,7 @@ export default {
|
|||||||
Vue.use(PortalVue)
|
Vue.use(PortalVue)
|
||||||
Vue.use(BootstrapVue)
|
Vue.use(BootstrapVue)
|
||||||
Vue.use(IconsPlugin)
|
Vue.use(IconsPlugin)
|
||||||
Vue.use(ToastPlugin)
|
Vue.use(VueBootstrapToasts)
|
||||||
Vue.use(VueGoodTablePlugin)
|
Vue.use(VueGoodTablePlugin)
|
||||||
Vue.use(VueMoment)
|
Vue.use(VueMoment)
|
||||||
Vue.use(VueQrcodeReader)
|
Vue.use(VueQrcodeReader)
|
||||||
|
|||||||
@ -58,16 +58,14 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {},
|
||||||
methods: {
|
methods: {
|
||||||
async onSubmit() {
|
async onSubmit() {
|
||||||
const result = await loginAPI.sendEmail(this.form.email)
|
const result = await loginAPI.sendEmail(this.form.email)
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.$router.push('/thx/password')
|
this.$router.push('/thx/password')
|
||||||
} else {
|
} else {
|
||||||
this.$bvToast.toast(result.result.message, {
|
this.$toast.success(this.$t('error.error'))
|
||||||
title: this.$t('error.error'),
|
|
||||||
noAutoHide: true,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -13268,6 +13268,11 @@ vm-browserify@^1.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
|
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
|
||||||
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
|
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
|
||||||
|
|
||||||
|
vue-bootstrap-toasts@^1.0.7:
|
||||||
|
version "1.0.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/vue-bootstrap-toasts/-/vue-bootstrap-toasts-1.0.7.tgz#111c38855941e8eb0538e21f41c173e2af67dd53"
|
||||||
|
integrity sha512-JhurJOAwdNcINQ/QlT701sx0r447YTGpvtxtmZNC9pwDvEqp2I0Pyv15jS4neWwYHkA1gXB42nBsDRcWcj1hlg==
|
||||||
|
|
||||||
vue-bootstrap-typeahead@^0.2.6:
|
vue-bootstrap-typeahead@^0.2.6:
|
||||||
version "0.2.6"
|
version "0.2.6"
|
||||||
resolved "https://registry.yarnpkg.com/vue-bootstrap-typeahead/-/vue-bootstrap-typeahead-0.2.6.tgz#8c1999a00bf4bf9fc906bae3a462482482cbc297"
|
resolved "https://registry.yarnpkg.com/vue-bootstrap-typeahead/-/vue-bootstrap-typeahead-0.2.6.tgz#8c1999a00bf4bf9fc906bae3a462482482cbc297"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user