forgot page converted to vue form

This commit is contained in:
batuhanbas
2019-12-28 12:34:31 +03:00
parent d555d764d9
commit d33e326c55
3 changed files with 23 additions and 38 deletions

View File

@ -15,30 +15,14 @@ import BulkAction from './../../plugins/bulk-action';
const app = new Vue({
el: '#app',
mixins: [
Global
],
data: function () {
return {
form: new Form('login')
}
},
watch:{
'form.response'(notify) {
/*
if (!notify.message) {
return {};
}
var type = (notify.success) ? 'success' : 'warning';
this.$notify({
message: notify.message,
timeout: 5000,
icon: 'ni ni-bell-55',
type
});
*/
}
}
});