绿满眶商城微信小程序-uniapp
xiangpei
2025-05-26 86cbf346204232ba9a4ffea6fbcb4d9d2b521916
pages/mine/distribution/join.vue
@@ -44,8 +44,14 @@
  </view>
</template>
<script>
import UTabs from '@/uview-components/uview-ui/components/u-tabs/u-tabs.vue';
import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue';
import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue';
import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue';
import UButton from '@/uview-components/uview-ui/components/u-button/u-button.vue';
export default {
  components: {},
  components: {UTabs,UForm,UFormItem,UInput,UButton},
  // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕
  onReady() {
    this.$refs.uForm.setRules(this.rules);