修改bug

This commit is contained in:
‘937886381’
2024-03-22 17:14:34 +08:00
parent 95abfcf158
commit 649be9a18b
7 changed files with 50 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zhp
* @LastEditTime: 2024-03-22 09:01:30
* @LastEditTime: 2024-03-22 17:12:03
* @Description:
-->
<template>
@@ -289,7 +289,7 @@ export default {
}
// 修改的提交
if (this.dataForm.id) {
this.urlOptions.updateURL(this.dataForm).then(response => {
this.urlOptions.updateURL(this.dataForm).then(res => {
this.$modal.msgSuccess("修改成功");
this.visible = false;
this.$emit("refreshDataList");
@@ -297,7 +297,7 @@ export default {
return;
}
// 添加的提交
this.urlOptions.createURL(this.dataForm).then(response => {
this.urlOptions.createURL(this.dataForm).then(res => {
this.$modal.msgSuccess("新增成功");
this.idAttrShow = true;
this.dataForm.id = res.data