Skip to content

Commit

Permalink
fix: 捏脸解析器问题修复
Browse files Browse the repository at this point in the history
  • Loading branch information
leviathan233 committed Oct 31, 2023
1 parent b36bef3 commit 4940e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/face/Parse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="m-face-parse" :class="{ on: done }">
<h1 class="m-face-parse-title">捏脸数据解析器</h1>
<Upload type="face" @success="handleSuccess" />
<Facedat class="m-face-parse-preview" :data="json" :lock="false" v-show="done" />
<Facedat class="m-face-parse-preview" :data="data" :lock="true" v-if="data" />
</div>
</div>
</template>
Expand All @@ -24,7 +24,7 @@ export default {
computed: {
json: function () {
return this.data && this.data.json;
},
}
},
methods: {
handleSuccess: function (data) {
Expand Down

0 comments on commit 4940e51

Please sign in to comment.