forked from github/dataease
fix: 國際化
This commit is contained in:
parent
cebbc87e6e
commit
1eb8c97238
@ -815,6 +815,8 @@ export default {
|
|||||||
input_limit_0_50: '0-50 chars'
|
input_limit_0_50: '0-50 chars'
|
||||||
},
|
},
|
||||||
panel: {
|
panel: {
|
||||||
|
no_auth_role: 'Unshared roles',
|
||||||
|
auth_role: 'Shared roles',
|
||||||
picture_limit: 'Only pictures can be inserted',
|
picture_limit: 'Only pictures can be inserted',
|
||||||
drag_here: 'Please drag the left field here',
|
drag_here: 'Please drag the left field here',
|
||||||
copy_link_passwd: 'Copy link and password',
|
copy_link_passwd: 'Copy link and password',
|
||||||
|
@ -814,6 +814,8 @@ export default {
|
|||||||
input_limit_0_50: '0-50字符'
|
input_limit_0_50: '0-50字符'
|
||||||
},
|
},
|
||||||
panel: {
|
panel: {
|
||||||
|
no_auth_role: '未分享角色',
|
||||||
|
auth_role: '已分享角色',
|
||||||
picture_limit: '只能插入圖片',
|
picture_limit: '只能插入圖片',
|
||||||
drag_here: '請將左側字段拖至此處',
|
drag_here: '請將左側字段拖至此處',
|
||||||
copy_link_passwd: '複製鏈接及密碼',
|
copy_link_passwd: '複製鏈接及密碼',
|
||||||
|
@ -816,6 +816,8 @@ export default {
|
|||||||
input_limit_0_50: '0-50字符'
|
input_limit_0_50: '0-50字符'
|
||||||
},
|
},
|
||||||
panel: {
|
panel: {
|
||||||
|
no_auth_role: '未分享角色',
|
||||||
|
auth_role: '已分享角色',
|
||||||
picture_limit: '只能插入图片',
|
picture_limit: '只能插入图片',
|
||||||
drag_here: '请将左侧字段拖至此处',
|
drag_here: '请将左侧字段拖至此处',
|
||||||
copy_link_passwd: '复制链接及密码',
|
copy_link_passwd: '复制链接及密码',
|
||||||
|
@ -162,7 +162,7 @@ export default {
|
|||||||
const rows = this.$refs.table.store.states.selection
|
const rows = this.$refs.table.store.states.selection
|
||||||
const request = this.buildRequest(rows)
|
const request = this.buildRequest(rows)
|
||||||
saveShare(request).then(res => {
|
saveShare(request).then(res => {
|
||||||
this.$success('保存成功')
|
this.$success(this.$t('commons.save_success'))
|
||||||
return true
|
return true
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$error(err.message)
|
this.$error(err.message)
|
||||||
|
@ -33,9 +33,9 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
data: [],
|
data: [],
|
||||||
defaultHeadName: '全部',
|
defaultHeadName: this.$t('commons.all'),
|
||||||
columnLabel: null,
|
columnLabel: null,
|
||||||
filter_options: [{ text: '未分享角色', value: 0 }, { text: '已分享角色', value: 1 }],
|
filter_options: [{ text: this.$t('panel.no_auth_role'), value: 0 }, { text: this.$t('panel.auth_role'), value: 1 }],
|
||||||
fieldName: 'name',
|
fieldName: 'name',
|
||||||
type: 1, // 类型1代表角色
|
type: 1, // 类型1代表角色
|
||||||
shares: []
|
shares: []
|
||||||
|
Loading…
Reference in New Issue
Block a user