|
@@ -329,7 +329,7 @@ export default {
|
|
|
if (!this.name) return this.$toast('请输入您的姓名')
|
|
|
if (!this.phone) return this.$toast('请输入您的电话')
|
|
|
if (!/^1[3456789]\d{9}$/.test(this.phone)) return this.$toast('请填写正确的电话号码')
|
|
|
- if (detailData.enablePosition && !this.address) return this.$toast('请输入您的地址')
|
|
|
+ if (this.detailData.enablePosition && !this.address) return this.$toast('请输入您的地址')
|
|
|
for (let i = 0; i < this.questionList.length; i++) {
|
|
|
if (this.questionList[i].isRequire) {
|
|
|
// 单选题多选题
|