修正接口请求

This commit is contained in:
aixianling
2022-08-26 14:24:34 +08:00
parent 44ca30cbf3
commit ce1fd46b7e
53 changed files with 151 additions and 151 deletions

View File

@@ -84,7 +84,7 @@ export default {
methods: {
getDetail() {
let {id} = this.$route.query
id && this.instance.post("/appvideonews/getById", null, {
id && this.instance.post("/app/appvideonews/getById", null, {
params: {id}
}).then(res => {
if (res?.data) {
@@ -96,7 +96,7 @@ export default {
this.$refs.VideoForm.validate(v => {
if (v) {
let {form} = this
this.instance.post("/appvideonews/addOrUpdate", form).then(res => {
this.instance.post("/app/appvideonews/addOrUpdate", form).then(res => {
if (res?.code == 0) {
this.$message.success("提交成功!")
this.back()