This commit is contained in:
theluyuan 2025-04-15 14:43:46 +08:00
parent 95321cd114
commit af4956bdd8
3 changed files with 3 additions and 1 deletions

View File

@ -947,6 +947,7 @@ function calculateContent(title2, height, btn, type, isMessage) {
if (height && height.indexOf("%") != -1) { if (height && height.indexOf("%") != -1) {
height = "100%"; height = "100%";
} }
console.log("btn", btn);
if (btn && btn.length > 0) { if (btn && btn.length > 0) {
if (type == 0) { if (type == 0) {
if (title2) { if (title2) {

File diff suppressed because one or more lines are too long

View File

@ -142,6 +142,7 @@ export function calculateContent(
if (height && height.indexOf("%") != -1) { if (height && height.indexOf("%") != -1) {
height = "100%"; height = "100%";
} }
console.log("btn", btn);
if (btn && btn.length > 0) { if (btn && btn.length > 0) {
if (type == 0) { if (type == 0) {
if (title) { if (title) {