Add en-locale :by jimmy

This commit is contained in:
jimmy 2021-01-10 17:10:51 +08:00
parent 7010aa5658
commit 0d038bd0fe
4 changed files with 7 additions and 7 deletions

View File

@ -13,8 +13,8 @@ import 'nprogress/nprogress.css' // progress bar style
import locale from 'element-ui/lib/locale/lang/en' import locale from 'element-ui/lib/locale/lang/en'
Vue.use(Element, { Vue.use(Element, {
locale,
size: 'medium', // set element-ui default size size: 'medium', // set element-ui default size
locale
}) })
Vue.config.productionTip = false Vue.config.productionTip = false

View File

@ -5,7 +5,7 @@ Page({
paperType: 1, paperType: 1,
spinShow: false, spinShow: false,
loadMoreLoad: false, loadMoreLoad: false,
loadMoreTip: '暂无数据', loadMoreTip: 'No data',
queryParam: { queryParam: {
paperType: 1, paperType: 1,
pageIndex: 1, pageIndex: 1,
@ -77,7 +77,7 @@ Page({
if (re.pageNum >= re.pages) { if (re.pageNum >= re.pages) {
this.setData({ this.setData({
loadMoreLoad: false, loadMoreLoad: false,
loadMoreTip: '暂无数据' loadMoreTip: 'No data'
}); });
} }
} }

View File

@ -3,7 +3,7 @@ Page({
data: { data: {
spinShow: false, spinShow: false,
loadMoreLoad: false, loadMoreLoad: false,
loadMoreTip: '暂无数据', loadMoreTip: 'No data',
queryParam: { queryParam: {
pageIndex: 1, pageIndex: 1,
pageSize: app.globalData.pageSize pageSize: app.globalData.pageSize
@ -58,7 +58,7 @@ Page({
if (re.pageNum >= re.pages) { if (re.pageNum >= re.pages) {
this.setData({ this.setData({
loadMoreLoad: false, loadMoreLoad: false,
loadMoreTip: '暂无数据' loadMoreTip: 'No data'
}); });
} }
} }

View File

@ -4,7 +4,7 @@ Page({
data: { data: {
spinShow: false, spinShow: false,
loadMoreLoad: false, loadMoreLoad: false,
loadMoreTip: '暂无数据', loadMoreTip: 'No data',
queryParam: { queryParam: {
pageIndex: 1, pageIndex: 1,
pageSize: app.globalData.pageSize pageSize: app.globalData.pageSize
@ -59,7 +59,7 @@ Page({
if (re.pageNum >= re.pages) { if (re.pageNum >= re.pages) {
this.setData({ this.setData({
loadMoreLoad: false, loadMoreLoad: false,
loadMoreTip: '暂无数据' loadMoreTip: 'No data'
}); });
} }
} }