This commit is contained in:
yanran200730
2023-06-09 15:49:47 +08:00
parent 9c45f25e8d
commit 164fe19a4a
11 changed files with 32 additions and 29 deletions

View File

@@ -95,7 +95,7 @@ export default {
},
getInfo() {
this.instance.post(`/appvillageinfo/queryDetailById?id=${this.params.id}`).then(res => {
this.instance.post(`/api/appvillageinfo/queryDetailById?id=${this.params.id}`).then(res => {
if (res.code === 0) {
this.form = {
...res.data
@@ -109,7 +109,7 @@ export default {
onSubmit() {
this.$refs.form.validate((valid) => {
if (valid) {
this.instance.post(`/appvillageinfo/addOrUpdate`, {
this.instance.post(`/api/appvillageinfo/addOrUpdate`, {
...this.form,
fileIds: this.fileList.map(v => v.id),
thumbUrl: this.form.thumbUrl.length ? JSON.stringify([{