fix 修复 demo页面字段编写错误

This commit is contained in:
疯狂的狮子Li
2023-11-20 16:44:36 +08:00
parent e218670a52
commit 4b76ed52bf
2 changed files with 2 additions and 2 deletions

View File

@@ -336,7 +336,7 @@ function submitForm() {
proxy.$refs["demoRef"].validate(valid => {
if (valid) {
buttonLoading.value = true;
if (form.value.ossConfigId != null) {
if (form.value.id != null) {
updateDemo(form.value).then(response => {
proxy.$modal.msgSuccess("修改成功");
open.value = false;

View File

@@ -243,7 +243,7 @@ function submitForm() {
proxy.$refs["treeRef"].validate(valid => {
if (valid) {
buttonLoading.value = true;
if (form.value.ossConfigId != null) {
if (form.value.id != null) {
updateTree(form.value).then(response => {
proxy.$modal.msgSuccess("修改成功");
open.value = false;