This commit is contained in:
lesion
2019-06-08 15:16:56 +02:00
parent 1dc47cb939
commit ccaf53aa24
14 changed files with 13 additions and 25 deletions

View File

@@ -241,7 +241,6 @@ export default {
end_datetime = moment(this.date.end)
.set('hour', end_hour).set('minute', end_minute)
} else {
console.log(this.date)
start_datetime = moment(this.date).set('hour', start_hour).set('minute', start_minute)
end_datetime = moment(this.date).set('hour', end_hour).set('minute', end_minute)
}

View File

@@ -1,5 +1,5 @@
<template lang="pug">
el-card(:title='$t("common.admin")' width='80%' :visible='open' :before-close='close')
el-card
nuxt-link.float-right(to='/')
v-icon(name='times' color='red')
h5 {{$t('common.admin')}}
@@ -224,11 +224,6 @@ export default {
} catch (e) {
}
},
close (done) {
console.log('oppure qui !')
this.$router.replace('/')
// done()
}
}
}
</script>

View File

@@ -59,7 +59,6 @@ export default {
// key: to => to.fullPath,
// Called to know which transition to apply
// transition(to, from) {
// console.log('dentro transition')
// if (!from) return 'slide-left'
// return +to.params.id < +from.params.id ? 'slide-right' : 'slide-left'
// },
@@ -109,9 +108,6 @@ export default {
},
methods: {
...mapActions(['delEvent']),
keydown (e) {
console.error(e)
},
comment_filter (value) {
return value.replace(/<a.*href="([^">]+).*>(?:.(?!\<\/a\>))*.<\/a>/, (orig, url) => {
// get extension

View File

@@ -58,7 +58,6 @@
</template>
<script>
import { mapState, mapGetters } from 'vuex'
import path from 'path'
import Calendar from '@/components/Calendar'
import List from '@/components/List'
import Search from '@/components/Search'

View File

@@ -27,11 +27,9 @@ export default {
methods: {
async change () {
if (!this.password) return
// this.$auth.user.password = this.password
const user_data = { id : this.$auth.user.id, password: this.password }
try {
const user = await this.$axios.$put('/user', user_data)
console.error(user)
} catch (e) {
console.log(e)
}