forked from github/dataease
feat: 保存按钮作为“文字按钮”放在关闭按钮的左边
This commit is contained in:
parent
a17d7cc1e7
commit
6c3a595339
@ -51,7 +51,7 @@
|
||||
"@babel/register": "7.0.0",
|
||||
"@vue/cli-plugin-babel": "3.6.0",
|
||||
"@vue/cli-plugin-eslint": "^3.9.1",
|
||||
"@vue/cli-service": "3.6.0",
|
||||
"@vue/cli-service": "^3.3.1",
|
||||
"babel-eslint": "10.0.1",
|
||||
"chalk": "2.4.2",
|
||||
"connect": "3.6.6",
|
||||
@ -61,7 +61,7 @@
|
||||
"less": "^4.1.1",
|
||||
"less-loader": "^8.0.0",
|
||||
"mockjs": "1.0.1-beta3",
|
||||
"runjs": "^4.3.2",
|
||||
"runjs": "^4.1.3",
|
||||
"sass": "^1.32.5",
|
||||
"sass-loader": "^10.1.1",
|
||||
"script-ext-html-webpack-plugin": "2.1.3",
|
||||
|
@ -29,14 +29,14 @@
|
||||
<el-button class="el-icon-document-delete" size="mini" circle @click="clearCanvas" />
|
||||
</el-tooltip>
|
||||
<input id="input" ref="files" type="file" hidden @change="handleFileChange">
|
||||
<el-tooltip :content="$t('commons.save') ">
|
||||
<el-button class="el-icon-circle-check" size="mini" circle @click="save" />
|
||||
</el-tooltip>
|
||||
<el-tooltip :content="$t('panel.preview')">
|
||||
<el-button class="el-icon-view" size="mini" circle @click="clickPreview" />
|
||||
</el-tooltip>
|
||||
|
||||
<span style="float: right;margin-left: 10px">
|
||||
<el-button size="mini" @click="save">
|
||||
{{ $t('commons.save') }}
|
||||
</el-button>
|
||||
<el-button size="mini" @click="closePanelEdit">
|
||||
{{ $t('commons.close') }}
|
||||
</el-button>
|
||||
@ -209,7 +209,7 @@ export default {
|
||||
panelData: JSON.stringify(this.componentData)
|
||||
}
|
||||
post('panel/group/save', requestInfo, () => {})
|
||||
this.$message.success('保存成功')
|
||||
this.$message.success(this.$t('commons.save_success'))
|
||||
},
|
||||
clearCanvas() {
|
||||
this.$store.commit('setComponentData', [])
|
||||
|
Loading…
Reference in New Issue
Block a user