blob: d5dbf51a4f4397cd7711c1b1c6a44c27b47f3ac6 [file] [log] [blame]
<template>
<scroller>
<panel title="$getConfig()" type="primary">
<text>{{config}}</text>
</panel>
</scroller>
</template>
<script>
module.exports = {
data: function () {
return {
config: ''
}
},
components: {
panel: require('../include/panel.vue')
},
created: function() {
var config = this.$getConfig();
console.log('config', JSON.stringify(config));
this.config = JSON.stringify(config, null, 2);
}
}
</script>