From d5158b658699a872d838bc8447c810cf6f761021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E6=A3=AE?= Date: Wed, 21 Mar 2018 10:52:53 +0800 Subject: [PATCH] Table: fix emptyText --- package.json | 2 +- src/table/Table.jsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8fd5024db..a7fc8771d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "element-react", - "version": "1.4.8", + "version": "1.4.9", "description": "Element UI for React", "private": false, "main": "dist/npm/es5/index.js", diff --git a/src/table/Table.jsx b/src/table/Table.jsx index aaeecf13f..44aa81f4c 100644 --- a/src/table/Table.jsx +++ b/src/table/Table.jsx @@ -4,7 +4,6 @@ import { Component, PropTypes } from '../../libs'; import TableHeader from './TableHeader'; import TableBody from './TableBody'; import TableFooter from './TableFooter'; -import local from '../locale'; import type { TableProps, @@ -149,7 +148,7 @@ export default class Table extends Component { style={{ width: this.bodyWidth }} className="el-table__empty-block" > - {local.t('el.table.emptyText')} + {props.emptyText} )}