Browse Source

[Improvement-5144][UI] error v-show directives cannot be put on template tags (#5145)

* fix error v-show directives cannot be put on template tags.

* rerun e2e.
pull/3/MERGE
zhuangchong 4 years ago committed by GitHub
parent
commit
f6d62a4924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue
  2. 5
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue

4
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue

@ -29,10 +29,10 @@
</a>
</div>
</div>
<template v-show="!isNodata">
<template v-if="!isNodata">
<div class="gantt"></div>
</template>
<template v-if="isNodata">
<template v-else>
<m-no-data></m-no-data>
</template>
<m-spin :is-spin="isLoading">

5
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue

@ -21,7 +21,7 @@
<h2>
<span>{{name}}</span>
</h2>
<template v-show="isViewType">
<template v-if="isViewType">
<template v-if="!msg">
<div class="code-mirror-model">
<textarea id="code-edit-mirror" name="code-edit-mirror"></textarea>
@ -32,9 +32,8 @@
</div>
</template>
<m-no-data :msg="msg" v-if="msg"></m-no-data>
</template>
<template v-if="!isViewType">
<template v-else>
<m-no-type></m-no-type>
</template>
</div>

Loading…
Cancel
Save