Vue3 重构:REVIEW 公众号消息,修复 WxLocation 的 icon 报错

This commit is contained in:
YunaiV 2023-03-26 23:03:30 +08:00
parent 9ab791867a
commit e00834adf7
2 changed files with 4 additions and 5 deletions

View File

@ -31,16 +31,15 @@
/>
</el-row>
<el-row>
<el-icon><Location /></el-icon>{{ label }}
<el-icon><Location /></el-icon>
<Icon icon="ep:location" />
{{ label }}
</el-row>
</el-col>
</el-link>
</div>
</template>
<script setup lang="ts" name="WxLocation">
import { Location } from '@element-plus/icons-vue'
const props = defineProps({
locationX: {
required: true,

View File

@ -183,7 +183,7 @@ import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
// import WxVideoPlayer from '@/views/mp/components/wx-video-play/main.vue'
// import WxVoicePlayer from '@/views/mp/components/wx-voice-play/main.vue'
// import WxMsg from '@/views/mp/components/wx-msg/main.vue'
// import WxLocation from '@/views/mp/components/wx-location/main.vue'
import WxLocation from '@/views/mp/components/wx-location/main.vue'
// import WxMusic from '@/views/mp/components/wx-music/main.vue'
// import WxNews from '@/views/mp/components/wx-news/main.vue'
import { parseTime } from '@/utils/formatTime'