|
@@ -201,9 +201,7 @@ const showTitle = ref(false);
|
|
|
let width = window.$originData.orginParames.availWidth * 0.7;
|
|
|
// const type = 12;
|
|
|
const type = Math.floor(Math.random() * 12 + 1);
|
|
|
-let ori = data[type - 1] || {
|
|
|
- texts: [],
|
|
|
-};
|
|
|
+let ori = data[type - 1] || { texts: [] };
|
|
|
let max = 0;
|
|
|
for (let i = 0; i < ori.texts.length; i++) {
|
|
|
max < ori.texts[i].length && (max = ori.texts[i].length);
|