提交 54b9faa4 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!74 fix dashboard issue and hide summary log

Merge pull request !74 from 潘慧/master_ph
...@@ -21,12 +21,6 @@ limitations under the License. ...@@ -21,12 +21,6 @@ limitations under the License.
<div class="cl-dashboard-top-title"> <div class="cl-dashboard-top-title">
{{$t('trainingDashboard.trainingDashboardTitle')}} {{$t('trainingDashboard.trainingDashboardTitle')}}
</div> </div>
<div class="path-message">
<span>{{$t("symbols.leftbracket")}}</span>
<span>{{$t("trainingDashboard.summaryDirPath")}}</span>
<span>{{summaryPath}}</span>
<span>{{$t("symbols.rightbracket")}}</span>
</div>
</div> </div>
<div class="cl-dashboard-center"> <div class="cl-dashboard-center">
<div class="cl-dashboard-con-up" <div class="cl-dashboard-con-up"
...@@ -172,7 +166,6 @@ export default { ...@@ -172,7 +166,6 @@ export default {
return { return {
// training job id // training job id
trainingJobId: '', trainingJobId: '',
summaryPath: '',
defColorCount: CommonProperty.commonColorArr.length, // default color defColorCount: CommonProperty.commonColorArr.length, // default color
colorNum: 0, colorNum: 0,
charObj: null, charObj: null,
...@@ -291,7 +284,6 @@ export default { ...@@ -291,7 +284,6 @@ export default {
init() { init() {
if (this.$route.query && this.$route.query.id) { if (this.$route.query && this.$route.query.id) {
this.trainingJobId = this.$route.query.id; this.trainingJobId = this.$route.query.id;
this.summaryPath = decodeURIComponent(this.trainingJobId);
} else { } else {
this.trainingJobId = ''; this.trainingJobId = '';
this.$message.error(this.$t('trainingDashboard.invalidId')); this.$message.error(this.$t('trainingDashboard.invalidId'));
...@@ -1728,12 +1720,6 @@ export default { ...@@ -1728,12 +1720,6 @@ export default {
height: 56px; height: 56px;
vertical-align: middle; vertical-align: middle;
background: #ffffff; background: #ffffff;
.path-message {
display: inline-block;
line-height: 20px;
padding: 18px 16px;
font-weight: bold;
}
.cl-dashboard-top-title { .cl-dashboard-top-title {
float: left; float: left;
color: #000000; color: #000000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册