Skip to content

Commit

Permalink
Merge pull request #988 from pxgo/master
Browse files Browse the repository at this point in the history
优化
  • Loading branch information
pxgo authored Sep 30, 2024
2 parents 8f45fb0 + ddb26d8 commit d3e9474
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/lib/vue/StickerSelector/StickerSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
.sticker-selector-nav-option-container(@click="selectFiles")
<upload-one theme="filled" size="24" fill="#333"/>
div 上传
emoji-list(v-if="type === 'emoji'" @select="selectEmoji")
emoji-list(v-if="type === 'emoji' && showEmoji" @select="selectEmoji")
.sticker-selector-own-sticker-container.m-t-05(v-else)
.sticker-selector-own-sticker-option-container(v-if="type === 'own'")
.sticker-selector-option(@click="switchManageSticker") {{manageSticker? '完成': '管理'}}
Expand Down Expand Up @@ -76,6 +76,7 @@ export default {
uploading: false,
uploadingProgress: 0,
getting: false,
showEmoji: false,
selectedStickerId: [],
files: [],
types: [
Expand Down Expand Up @@ -120,6 +121,7 @@ export default {
},
methods: {
open(callback) {
this.showEmoji = true;
this.callback = callback;
this.getStickers();
this.$refs.draggableDialog.open();
Expand Down

0 comments on commit d3e9474

Please sign in to comment.