修改右键菜单,文字颜色

This commit is contained in:
ival 2019-08-19 11:16:29 +08:00
parent 068dbdbbde
commit 4da9dc977b
2 changed files with 11 additions and 12 deletions

View File

@ -69,8 +69,8 @@
</el-button>
<el-button
v-else
class="dsp-block"
id="testId"
class="dsp-block"
type="text"
:disabled="checkIfDisabled(item)"
@click="item.handler"
@ -241,6 +241,7 @@ export default {
width: 100%;
cursor: pointer;
border: 1px solid transparent;
color: #000;
input {
opacity: 0;

View File

@ -161,18 +161,16 @@ export default {
importRunPlan({ skinCode: skinCode, runPlanList: jsonData }).then(response => {
loading.close();
that.refresh();
that.$message.success(this.$t('tip.importOperationGraphSuccessfully'));
}).catch((error) => {
console.error(error);
that.$message.success(that.$t('tip.importOperationGraphSuccessfully'));
}).catch(() => {
loading.close();
that.refresh();
that.$message.warning(this.$t('tip.importOperationGraphFailed'));
that.$message.warning(that.$t('tip.importOperationGraphFailed'));
});
} catch (error) {
console.error(error);
loading.close();
that.refresh();
that.$message.warning(this.$t('tip.parsingOperationGraphFailed'));
that.$message.warning(that.$t('tip.parsingOperationGraphFailed'));
}
}
};