修改右键菜单,文字颜色

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

View File

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