bug
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<div class="form-item__right">
|
||||
<textarea v-model="form.content" :maxlength="500" placeholder="请简要描述事件…"></textarea>
|
||||
</div>
|
||||
<div class="limit">{{ form.content.length }}/200</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -233,6 +234,9 @@
|
||||
if (!this.form.groupId) {
|
||||
return this.$u.toast('请选择事件类型')
|
||||
}
|
||||
if (!this.form.address) {
|
||||
return this.$u.toast('请选择发生地点')
|
||||
}
|
||||
if (!this.form.girdName) {
|
||||
return this.$u.toast('请选择上报网格')
|
||||
}
|
||||
@@ -277,6 +281,12 @@
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.limit {
|
||||
position: fixed;
|
||||
right: 44px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.form-item {
|
||||
padding-left: 32px;
|
||||
|
||||
@@ -300,6 +310,7 @@
|
||||
align-items: center;
|
||||
font-size: 32px;
|
||||
|
||||
|
||||
span {
|
||||
max-width: 400px;
|
||||
margin-right: 8px;
|
||||
|
||||
Reference in New Issue
Block a user