From dbb63f84ece63e7f3a48a7c89bf0a8170822caa4 Mon Sep 17 00:00:00 2001 From: ahqrt <1217223113@qq.com> Date: Fri, 28 May 2021 13:27:14 +0800 Subject: [PATCH] fix(cli/site/pc): repair where the var-cell V-for component did not have a key --- packages/varlet-cli/site/pc/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/varlet-cli/site/pc/App.vue b/packages/varlet-cli/site/pc/App.vue index b282aa3d38c..aed287a1b65 100644 --- a/packages/varlet-cli/site/pc/App.vue +++ b/packages/varlet-cli/site/pc/App.vue @@ -79,8 +79,8 @@ import '@varlet/ui/es/cell/style' import '@varlet/ui/es/icon/style' import '@varlet/ui/es/menu/style' import '@varlet/ui/es/loading/style' -import { defineComponent, ref, Ref, watch, onMounted, nextTick } from 'vue' -import { useRoute } from 'vue-router' +import { defineComponent, ref, Ref, watch, onMounted, nextTick, reactive } from 'vue' +import { useRoute, createWebHashHistory } from 'vue-router' type Menu = { isTitle: boolean