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: {}