田源
2025-01-16 39269c81905457378a73dc83050349d7a364a1f8
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: {}