fix:投放

This commit is contained in:
liu.huiying@ebiz-digits.com
2025-03-17 17:36:06 +08:00
parent d9b7ac271f
commit c902b018b0
2 changed files with 12 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ const canPlanetPublishPSM = function (data) {
incompleteQuestionList.push(s);
}
});
if (isFb === true && data.questions.length > 1) {
if (isFb === true && data.questions.length > 0) {
return true;
} else {
const titleStr = incompleteQuestionList.map((item) => item.title).join('、') || '';
@@ -121,6 +121,8 @@ const canPlanetPublishMxdAndHotArea = function (data) {
* @returns
*/
const canPlanetPublish3D = function (data) {
console.log(56, data);
{
let canFB = true;
let message = '';
@@ -134,9 +136,7 @@ const canPlanetPublish3D = function (data) {
canFB = false;
qSteams.push(`(${s.title})`);
}
} catch (error) {
// eslint-disable-next-line no-eval
}
} catch (error) {}
}
});