修复bug

This commit is contained in:
X1627315083
2024-08-22 14:49:46 +08:00
parent 4269957cf2
commit b4f3ae68c5
7 changed files with 47 additions and 30 deletions

View File

@@ -81,6 +81,7 @@ import { getUploadUrl } from "@/tool/util";
import scaleImage from "@/component/HomePage/scaleImage.vue";
import { openGuide,driverObj__,driverIndex__ } from "@/tool/guide";
import { useI18n } from "vue-i18n";
import store from "@/store";
export default defineComponent({
components: {
MailOutlined,
@@ -90,7 +91,8 @@ export default defineComponent({
props: ["msg",'sketchCatecoryList'],
setup() {
const router = useRouter()
const route:any = useRoute()
// const route:any = useRoute()
const store:any = useStore()
const state:any = reactive({
rootSubmenuKeys: [{
name:'All User',
@@ -263,7 +265,7 @@ export default defineComponent({
//储存所有用户id和name
Https.axiosGet(Https.httpUrls.getAllUserId,).then((rv: any) => {
if (rv) {
sessionStorage.setItem('allUserList',JSON.stringify(rv));
store.commit('setAllUserList',rv);
}
})
let allCountry = country