diff --git a/src/components/CommandSideBar.vue b/src/components/CommandSideBar.vue index e57a066..549762d 100644 --- a/src/components/CommandSideBar.vue +++ b/src/components/CommandSideBar.vue @@ -18,7 +18,7 @@ /> @@ -257,11 +257,12 @@ - (currentCommand.features.icon = dataUrl)" - position="left" - ref="icon" - /> + + (currentCommand.features.icon = dataUrl)" + ref="icon" + /> + @@ -296,6 +297,7 @@ export default { outputTypesOptions: Object.keys(outputTypes), specialVar: "{{}}", allQuickCommandTags: this.$parent.allQuickCommandTags, + showIconPicker: false, }; }, props: { @@ -411,10 +413,6 @@ export default { } return updateData; }, - - showIconPicker() { - this.$refs.icon.showIconPicker = true; - }, }, }; diff --git a/src/components/popup/IconPicker.vue b/src/components/popup/IconPicker.vue index 39fab1b..b0ae250 100644 --- a/src/components/popup/IconPicker.vue +++ b/src/components/popup/IconPicker.vue @@ -1,90 +1,82 @@ - - - - 更改图标 - - - - - - 键入关键词搜索 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 确定 - - - - + + 更改图标 + + + + + 键入关键词搜索 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + +