|
@@ -306,7 +306,12 @@ function dialogSubmit() {
|
|
|
proxy.$modal.msgError("请选择素材");
|
|
|
return;
|
|
|
}
|
|
|
- const materialIds = [...ids.value, ...releateIds.value, uploadId.value];
|
|
|
+ let materialIds = []
|
|
|
+ if (uploadId.value) {
|
|
|
+ materialIds = [...ids.value, ...releateIds.value, uploadId.value];
|
|
|
+ } else {
|
|
|
+ materialIds = [...ids.value, ...releateIds.value];
|
|
|
+ }
|
|
|
confirmLoading.value = true;
|
|
|
const params = {
|
|
|
materialIds,
|