This commit is contained in:
yanran200730
2021-12-23 15:05:58 +08:00
parent bba21ea9f4
commit d8a9b2df48
3 changed files with 8 additions and 3 deletions

View File

@@ -89,6 +89,9 @@
confirm () {
this.$refs.form.validate((valid) => {
if (valid) {
if (this.form.areaId.endsWith('000')) {
return this.$message.error('地区必须选择到村级')
}
this.instance.post(`/app/appvillagepicturealbum/addPictures`, {
...this.form,
id: this.params.id,