bug
This commit is contained in:
@@ -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([{
|
||||
|
||||
Reference in New Issue
Block a user