Improvements :)

This commit is contained in:
Henrique Dias committed 2017-06-28 22:20:28 +01:00
1 parent 7aa6a549f9
commit 84ddad027f
21 files changed
+467 -445

No files matched your search

+5 -2
View File
@@ -23,17 +23,20 @@
</template>
<script>
import page from '../page'
export default {
name: 'preview',
data: function () {
return window.info.page.data
return window.info.req.data
},
methods: {
raw: function () {
return this.url + '?raw=true'
},
back: function (event) {
window.history.back()
let url = page.removeLastDir(window.location.pathname)
page.open(url)
}
}
}