Skip to content

Commit

Permalink
fix: 创建应用,蓝鲸插件tab切换bug修复 (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
leafage-collb authored Jul 17, 2023
1 parent 8825402 commit 98380f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webfe/package_vue/src/views/dev-center/create-app/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<div class="tab-box">
<li
v-if="notBkLesscode"
:class="['tab-item template', { 'active': this.isNormalApp }]"
:class="['tab-item template', { 'active': localSourceOrigin === 1 }]"
@click="handleCodeTypeChange(1)"
>
{{ $t('蓝鲸开发框架') }}
Expand Down Expand Up @@ -738,7 +738,7 @@
return this.$store.state.userFeature;
},
isNormalApp () {
return this.localSourceOrigin === 1;
return this.curCodeSource === 'default';
}
},
watch: {
Expand Down

0 comments on commit 98380f7

Please sign in to comment.