28 lines
683 B
TypeScript
28 lines
683 B
TypeScript
export default OakComponent({
|
|
data: {
|
|
visible: false,
|
|
},
|
|
methods: {
|
|
printDebugStore() {
|
|
console.log(this.features.cache.getFullData());
|
|
},
|
|
printCachedStore() {
|
|
console.log(this.features.cache.getCachedData());
|
|
},
|
|
printRunningTree() {
|
|
console.log(this.features.runningTree.getRoot());
|
|
},
|
|
setVisible(visible: boolean) {
|
|
this.setState({
|
|
visible,
|
|
});
|
|
},
|
|
handlePopup() {
|
|
this.setVisible(true);
|
|
},
|
|
onVisibleChange(e: any) {
|
|
this.setVisible(e.detail.visible);
|
|
},
|
|
},
|
|
});
|