//ShowBtn为父的方法
// #ifdef H5
this.$parent.$parent.ShowBtn()
// #endif
// #ifndef H5
this.$parent.ShowBtn()
// #endif
因为在uniapp的H5中 <view></view>也是一个组件 可以在H5中调两次,非H5中调一次
//ShowBtn为父的方法
// #ifdef H5
this.$parent.$parent.ShowBtn()
// #endif
// #ifndef H5
this.$parent.ShowBtn()
// #endif
因为在uniapp的H5中 <view></view>也是一个组件 可以在H5中调两次,非H5中调一次