fix: 字段管理国际化
This commit is contained in:
parent
21e467bfad
commit
e39dd4fe8a
@ -307,7 +307,7 @@
|
||||
class="de-text-btn"
|
||||
style="margin-left: 8px"
|
||||
@click="editField(scope.row)"
|
||||
>{{ $t('deDataset.dataset.edit') }}</el-button
|
||||
>{{ $t('dataset.edit') }}</el-button
|
||||
>
|
||||
<el-dropdown
|
||||
size="medium"
|
||||
|
||||
@ -49,15 +49,6 @@
|
||||
@click="validaDatasource"
|
||||
>{{ $t('commons.validate') }}
|
||||
</deBtn>
|
||||
<deBtn
|
||||
v-if="
|
||||
formType === 'add' ||
|
||||
hasDataPermission('manage', params.privileges)
|
||||
"
|
||||
type="primary"
|
||||
@click="changeEdit"
|
||||
>{{ $t('commons.edit') }}
|
||||
</deBtn>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
@ -498,6 +489,7 @@ export default {
|
||||
this.params.showModel &&
|
||||
this.params.showModel === 'show' &&
|
||||
!this.canEdit
|
||||
this.changeEdit()
|
||||
},
|
||||
reset() {
|
||||
this.$refs.dsForm.resetFields()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user