This commit is contained in:
helloDy
2024-03-14 20:19:42 +08:00
parent 149ec4c844
commit 67948c10cb
20 changed files with 299 additions and 112 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
* @LastEditTime: 2023-12-14 13:52:42
* @LastEditTime: 2024-03-14 10:02:53
* @Description:
-->
<template>
@@ -169,7 +169,7 @@ export default {
// 修改的提交
if (this.dataForm.id) {
this.urlOptions.updateURL(this.dataForm).then(response => {
if (this.test.length > 1 || this.test[0].name) {
if (this.test.length > 1 || this.test[0]?.name) {
this.test.forEach(check => {
check.hotMaterialId = this.dataForm.id
if (check.id) {
@@ -191,7 +191,7 @@ export default {
}
// 添加的提交
this.urlOptions.createURL(this.dataForm).then(response => {
if (this.test.length > 1 || this.test[0].name) {
if (this.test.length > 1 || this.test[0]?.name) {
this.test.forEach(check => {
check.hotMaterialId = response.data
createHotMaterialCheck(check).then(res => {