We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933f3b4 commit fa2451cCopy full SHA for fa2451c
src/js/module/workbench/script/editor.vue
@@ -45,7 +45,7 @@
45
<span class="navbar-item-name">保存</span>
46
</div>
47
<div
48
- v-if="!script.readOnly && !isHdfs"
+ v-if="!script.readOnly && !isHdfs && isSupport"
49
class="workbench-body-navbar-item"
50
@click="config">
51
<Icon type="ios-build" />
@@ -114,6 +114,9 @@ export default {
114
isHdfs() {
115
return this.work.filepath.indexOf('hdfs') === 0;
116
},
117
+ isSupport() {
118
+ return this.script.executable;
119
+ }
120
121
watch: {
122
listenResource(val) {
0 commit comments