gm-printer 10.13.10 → 10.13.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer",
3
- "version": "10.13.10",
3
+ "version": "10.13.11",
4
4
  "description": "diy printer",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -205,7 +205,13 @@ class Table extends React.Component {
205
205
  }
206
206
 
207
207
  return (
208
- <table>
208
+ <table
209
+ style={{
210
+ // td会撑开table的宽度
211
+ tableLayout: 'inherit',
212
+ wordBreak: 'break-all'
213
+ }}
214
+ >
209
215
  <thead>
210
216
  <tr style={{ height: `${customerRowHeight}px` }}>
211
217
  {_.map(columns, (col, i) => (