litian
2024-03-21 05707c8c6adb1042597c52091ad25ed64d15bb55
custom-tab-bar/index.js
@@ -8,6 +8,7 @@
  methods: {
    onChange(event) {
      this.setData({ active: event.detail.value });
      console.log(this.data.active);
      wx.switchTab({
        url: this.data.list[event.detail.value].url.startsWith('/')
          ? this.data.list[event.detail.value].url