mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
chore: 修复编译 warnning
This commit is contained in:
parent
89dbd7a56d
commit
6f9c810e26
@ -73,6 +73,9 @@ npm run update-snapshot
|
||||
# 先通过一下命令设置版本号
|
||||
npm run version
|
||||
|
||||
# 如果是 beta 版本使用如下命令
|
||||
# npm run version -- 2.0.1-beta.0 --no-git-tag-version
|
||||
|
||||
# 发布内部 registry
|
||||
npm run publish-to-internal
|
||||
|
||||
|
@ -228,7 +228,7 @@ export default class TableView extends React.Component<TableViewProps, object> {
|
||||
renderTrs(trs: TrObject[]) {
|
||||
const {data} = this.props;
|
||||
const tr = trs.map((tr, rowIndex) =>
|
||||
this.renderTr(resolveMappingObject(tr, data), rowIndex)
|
||||
this.renderTr(resolveMappingObject(tr, data) as TrObject, rowIndex)
|
||||
);
|
||||
return tr;
|
||||
}
|
||||
|
@ -6,6 +6,10 @@ npm run build --workspaces
|
||||
rm -rf npm
|
||||
mkdir npm
|
||||
|
||||
# 如果有问题可以注释掉这两行,不知道为啥会导致 cp -rf 挂掉
|
||||
# rm -rf packages/amis/node_modules/.bin
|
||||
# rm -rf packages/amis-ui/node_modules/.bin
|
||||
|
||||
cp -rf packages npm
|
||||
cp package.json npm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user