Merge branch 'dev' of codeup.aliyun.com:61c14a7efa282c88e103c23f/oak-general-business into dev
This commit is contained in:
commit
7d1e9f9ef7
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"t-message": "../../miniprogram_npm/tdesign/message/message"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
.btn-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
padding: 40rpx;
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
export default OakComponent({
|
||||
methods: {
|
||||
printDebugStore() {
|
||||
console.log(this.features.cache.getFullData());
|
||||
},
|
||||
printCachedStore() {
|
||||
console.log(this.features.cache.getCachedData());
|
||||
},
|
||||
printRunningTree() {
|
||||
console.log(this.features.runningTree.getRoot());
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
import React from 'react';
|
||||
import { Button, Space } from 'tdesign-react';
|
||||
|
||||
export default function render() {
|
||||
return (
|
||||
<Space
|
||||
breakLine={false}
|
||||
direction="horizontal"
|
||||
size="medium"
|
||||
>
|
||||
<Button theme="primary" shape="circle" onClick={() => this.printRunningTree()}>
|
||||
R
|
||||
</Button>
|
||||
<Button theme="primary" shape="circle" onClick={() => this.printDebugStore()}>
|
||||
S
|
||||
</Button>
|
||||
<Button theme="primary" shape="circle" onClick={() => this.printCachedStore()}>
|
||||
C
|
||||
</Button>
|
||||
</Space>
|
||||
);
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
<t-message id="t-message" />
|
||||
|
|
@ -56,7 +56,6 @@
|
|||
"get:area": "ts-node ./scripts/getAmapArea.ts",
|
||||
"clean:dir": "ts-node ./scripts/cleanDtsAndJs",
|
||||
"test": "ts-node ./test/test.ts",
|
||||
"postinstall": "npm run make:domain",
|
||||
"prepare": "rimraf node_modules/react & rimraf node_modules/react-dom & rimraf node_modules/react-router"
|
||||
},
|
||||
"main": "lib/index"
|
||||
|
|
|
|||
Loading…
Reference in New Issue