fix(stocktake): 修复模板中 TS 类型注解导致的编译错误
row-class-name 的 (row: any) 在 Vue 模板中不合法,去掉类型注解
This commit is contained in:
@ -240,7 +240,7 @@
|
||||
border
|
||||
row-key="uniqueKey"
|
||||
style="width: 100%"
|
||||
:row-class-name="(row: any) => row._justScanned ? 'just-scanned-row' : ''"
|
||||
:row-class-name="(row) => row._justScanned ? 'just-scanned-row' : ''"
|
||||
>
|
||||
<el-table-column prop="sku" label="SKU" width="140" show-overflow-tooltip />
|
||||
<el-table-column prop="material_name" label="名称" min-width="120" show-overflow-tooltip />
|
||||
|
||||
Reference in New Issue
Block a user