为什么我的校验规则被卡了啊?
const rules = reactive({
'name': {
type: 'string',
message: '请输入阶段名称',
trigger: ['blur'],
required: true,
}
})
<up-popup mode="bottom" round="15rpx" closeable :show="isShow" @close="close">
<view class="popup">
<text>{{ popupTitle }}</text>
<view>
<up-form :rules="rules" ref="uFormRef" :model="popupData" labelPosition="left" labelWidth="75px">
<up-form-item prop="name" required label="阶段名称:">
<up-input v-model="popupData.title" placeholder="请输入阶段名称"></up-input>
</up-form-item>
</up-form>
</view>
<up-button style="margin-top: 30rpx;" type="primary" shape="circle" text="确认" @click="submit" />
</view>
</up-popup>