Compare commits
1 Commits
master
...
fix_slug_u
Author | SHA1 | Date |
---|---|---|
Chris Sexton | ec535babc8 |
|
@ -27,10 +27,14 @@
|
||||||
slug: String
|
slug: String
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.save = _.debounce(this.save, 2000)
|
||||||
|
},
|
||||||
|
beforeUpdate() {
|
||||||
|
console.log('checking for slug: '+this.$props.slug)
|
||||||
if (this.$props.slug) {
|
if (this.$props.slug) {
|
||||||
|
console.log('found slug: '+this.$props.slug)
|
||||||
this.getFile(this.$props.slug)
|
this.getFile(this.$props.slug)
|
||||||
}
|
}
|
||||||
this.save = _.debounce(this.save, 2000)
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
tags: function () {
|
tags: function () {
|
||||||
|
|
Loading…
Reference in New Issue