12345678910111213141516171819202122232425 |
- var app = getApp()
- Component({
- mixins: [],
- data: {},
- props: {
- onCloseAnimation: (data) => console.log(data),
- },
- didMount() {
- this.getData();
- },
- didUpdate() {},
- didUnmount() {},
- methods: {
- getData(){
- app.$get("api/integral/rule/trees",{pt_id:3},(res)=>{
- console.log(res);
- })
- },
- //关闭
- plusOne(e){
- console.log("2222");
- this.props.onCloseAnimation();
- },
- },
- });
|