From a4d039cee6e2943eb025717a8fe69b4c992797a5 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期一, 30 十二月 2024 11:14:11 +0800 Subject: [PATCH] 整合代码 添加系统菜单默认图标 --- Source/plt-web/plt-web-ui/src/App.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/App.vue b/Source/plt-web/plt-web-ui/src/App.vue index 20bdc54..e32eb14 100644 --- a/Source/plt-web/plt-web-ui/src/App.vue +++ b/Source/plt-web/plt-web-ui/src/App.vue @@ -5,6 +5,9 @@ </div> </template> <script> +import {getIcons} from "@/api/UI/Icons"; +import store from "@/store"; + export default { name: "app", data() { @@ -12,7 +15,10 @@ }, watch: {}, created() { - + //鑾峰彇鎵�鏈夊浘鏍囷紝瀛樺湪session + getIcons().then(res => { + store.dispatch("setIcons", res.data.data); + }) }, methods: {}, computed: {} -- Gitblit v1.9.3