Browse Source

delete the data-container attribute.

pull/3/MERGE
zhuangchong 4 years ago
parent
commit
c4013c9823
  1. 41
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue

41
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue

@ -34,30 +34,30 @@
<div class="dag-contect"> <div class="dag-contect">
<div class="dag-toolbar"> <div class="dag-toolbar">
<div class="assist-btn"> <div class="assist-btn">
<el-button <el-tooltip :content="$t('View variables')" placement="top" :enterable="false">
style="vertical-align: middle;" <span>
data-toggle="tooltip"
:title="$t('View variables')"
data-container="body"
type="primary"
size="mini"
:disabled="$route.name !== 'projects-instance-details'"
@click="_toggleView"
icon="el-icon-c-scale-to-original">
</el-button>
<span>
<el-button <el-button
style="vertical-align: middle;" style="vertical-align: middle;"
data-toggle="tooltip"
:title="$t('Startup parameter')"
data-container="body"
type="primary" type="primary"
size="mini" size="mini"
:disabled="$route.name !== 'projects-instance-details'" :disabled="$route.name !== 'projects-instance-details'"
@click="_toggleParam" @click="_toggleView"
icon="el-icon-arrow-right"> icon="el-icon-c-scale-to-original">
</el-button> </el-button>
</span> </span>
</el-tooltip>
<el-tooltip :content="$t('Startup parameter')" placement="top" :enterable="false">
<span>
<el-button
style="vertical-align: middle;"
type="primary"
size="mini"
:disabled="$route.name !== 'projects-instance-details'"
@click="_toggleParam"
icon="el-icon-arrow-right">
</el-button>
</span>
</el-tooltip>
<span class="name">{{name}}</span> <span class="name">{{name}}</span>
&nbsp; &nbsp;
<span v-if="name" class="copy-name" @click="_copyName" :data-clipboard-text="name"><em class="el-icon-copy-document" data-container="body" data-toggle="tooltip" :title="$t('Copy name')" ></em></span> <span v-if="name" class="copy-name" @click="_copyName" :data-clipboard-text="name"><em class="el-icon-copy-document" data-container="body" data-toggle="tooltip" :title="$t('Copy name')" ></em></span>
@ -71,7 +71,7 @@
:key="$index" :key="$index"
@click="_ckOperation(item,$event)"> @click="_ckOperation(item,$event)">
<el-tooltip :content="item.desc" placement="top" :enterable="false"> <el-tooltip :content="item.desc" placement="top" :enterable="false">
<span><el-button type="text" class="operBtn" data-container="body" :icon="item.icon"></el-button></span> <span><el-button type="text" class="operBtn" :icon="item.icon"></el-button></span>
</el-tooltip> </el-tooltip>
</a> </a>
</div> </div>
@ -81,7 +81,6 @@
type="primary" type="primary"
icon="el-icon-caret-right" icon="el-icon-caret-right"
size="mini" size="mini"
data-container="body"
v-if="(type === 'instance' || 'definition') && urlParam.id !=undefined" v-if="(type === 'instance' || 'definition') && urlParam.id !=undefined"
style="vertical-align: middle;" style="vertical-align: middle;"
@click="dagAutomaticLayout"> @click="dagAutomaticLayout">
@ -91,7 +90,6 @@
<el-tooltip :content="$t('Refresh DAG status')" placement="top" :enterable="false"> <el-tooltip :content="$t('Refresh DAG status')" placement="top" :enterable="false">
<span> <span>
<el-button <el-button
data-container="body"
style="vertical-align: middle;" style="vertical-align: middle;"
icon="el-icon-refresh" icon="el-icon-refresh"
type="primary" type="primary"
@ -116,7 +114,6 @@
type="primary" type="primary"
icon="el-icon-switch-button" icon="el-icon-switch-button"
size="mini" size="mini"
data-container="body"
v-if="(type === 'instance' || 'definition') " v-if="(type === 'instance' || 'definition') "
style="vertical-align: middle;" style="vertical-align: middle;"
@click="_closeDAG"> @click="_closeDAG">

Loading…
Cancel
Save