index.js 394B

12345678910111213141516
  1. import { VantComponent } from '../common/component';
  2. import { useChildren } from '../common/relation';
  3. VantComponent({
  4. relation: useChildren('goods-action-button', function () {
  5. this.children.forEach((item) => {
  6. item.updateStyle();
  7. });
  8. }),
  9. props: {
  10. safeAreaInsetBottom: {
  11. type: Boolean,
  12. value: true,
  13. },
  14. },
  15. });