fix tabe 导出字符串 valueType

This commit is contained in:
Theluyuan 2023-11-03 09:27:59 +08:00
parent 171b4ac806
commit ffe213314c
4 changed files with 21 additions and 21 deletions

View File

@ -1198,7 +1198,7 @@ const _sfc_main = defineComponent({
const rowspan = rowColSpan ? rowColSpan[0] : 1;
const colspan = rowColSpan ? rowColSpan[1] : 1;
if (rowspan != 0 && colspan != 0) {
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${rowIndex + 1}</td>`;
tableStr += `<td colspan=${colspan} rowspan=${rowspan}${tableColumn.valueType == "str" ? " x:str" : ""}>${rowIndex + 1}</td>`;
}
}
});

View File

@ -19645,7 +19645,7 @@ const _sfc_main$D = defineComponent({
const rowspan = rowColSpan ? rowColSpan[0] : 1;
const colspan = rowColSpan ? rowColSpan[1] : 1;
if (rowspan != 0 && colspan != 0) {
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${rowIndex + 1}</td>`;
tableStr += `<td colspan=${colspan} rowspan=${rowspan}${tableColumn.valueType == "str" ? " x:str" : ""}>${rowIndex + 1}</td>`;
}
}
});

View File

@ -429,7 +429,7 @@ const exportData = () => {
const rowspan = rowColSpan ? rowColSpan[0] : 1;
const colspan = rowColSpan ? rowColSpan[1] : 1;
if (rowspan != 0 && colspan != 0) {
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${rowIndex + 1}</td>`;
tableStr += `<td colspan=${colspan} rowspan=${rowspan}${tableColumn.valueType == 'str' ? ' x:str' : ''}>${rowIndex + 1}</td>`;
}
}
});

File diff suppressed because one or more lines are too long