35 lines
471 B
35 lines
471 B
4 months ago
|
<template>
|
||
|
<view><slot/></view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {parent, children} from '../common/relation';
|
||
|
export default {
|
||
|
name: 'lime-painter-view',
|
||
|
mixins:[children('painter'), parent('painter')],
|
||
|
props: {
|
||
|
id: String,
|
||
|
type: {
|
||
|
type: String,
|
||
|
default: 'view'
|
||
|
},
|
||
|
css: [String, Object],
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
// type: 'view',
|
||
|
el: {
|
||
|
css: {},
|
||
|
views:[]
|
||
|
},
|
||
|
}
|
||
|
},
|
||
|
mounted() {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|