Skip to content

Commit e00834a

Browse files
committed
Vue3 重构:REVIEW 公众号消息,修复 WxLocation 的 icon 报错
1 parent 9ab7918 commit e00834a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/views/mp/components/wx-location/main.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,15 @@
3131
/>
3232
</el-row>
3333
<el-row>
34-
<el-icon><Location /></el-icon>{{ label }}
34+
<el-icon><Location /></el-icon>
35+
<Icon icon="ep:location" />
36+
{{ label }}
3537
</el-row>
3638
</el-col>
3739
</el-link>
3840
</div>
3941
</template>
40-
4142
<script setup lang="ts" name="WxLocation">
42-
import { Location } from '@element-plus/icons-vue'
43-
4443
const props = defineProps({
4544
locationX: {
4645
required: true,

src/views/mp/message/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
183183
// import WxVideoPlayer from '@/views/mp/components/wx-video-play/main.vue'
184184
// import WxVoicePlayer from '@/views/mp/components/wx-voice-play/main.vue'
185185
// import WxMsg from '@/views/mp/components/wx-msg/main.vue'
186-
// import WxLocation from '@/views/mp/components/wx-location/main.vue'
186+
import WxLocation from '@/views/mp/components/wx-location/main.vue'
187187
// import WxMusic from '@/views/mp/components/wx-music/main.vue'
188188
// import WxNews from '@/views/mp/components/wx-news/main.vue'
189189
import { parseTime } from '@/utils/formatTime'

0 commit comments

Comments
 (0)