NEZ-2525 fix:修复dashboard处编辑topo 无上传按钮

This commit is contained in:
zyh
2023-02-01 14:55:53 +08:00
parent 3398a8f77c
commit 31122dc619
2 changed files with 5 additions and 4 deletions

View File

@@ -18310,7 +18310,7 @@
"tmp": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.29.tgz",
"integrity": "sha512-89PTqMWGDva+GqClOqBV9s3SMh7MA3Mq0pJUdAoHuF65YoE7O0LermaZkVfT5/Ngfo18H4eYiyG7zKOtnEbxsw==",
"integrity": "sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA=",
"dev": true,
"requires": {
"os-tmpdir": "~1.0.1"

View File

@@ -42,7 +42,7 @@
</el-collapse-item>
</el-collapse>
</el-card>
<div class="upload-pic-box" @click="uploadPicChange" v-has="'topo_icon_save'">
<div class="upload-pic-box" @click="uploadPicChange">
<i class="el-icon-plus"></i>
<span>
{{ $t('overall.uploadCustomPicture') }}
@@ -297,8 +297,9 @@
{{$t('project.topology.exit')}}
</button>
<button type="button" class="nz-btn nz-btn-size-normal nz-btn-style-normal" @click="imgUpload"
v-has="'topo_icon_save'" :disabled="prevent_opt.save"
<button type="button" class="nz-btn nz-btn-size-normal nz-btn-style-normal"
@click="imgUpload"
:disabled="prevent_opt.save"
:class="{'nz-btn-disabled':prevent_opt.save}"
style="margin-right: 20px">
{{$t('overall.save')}}