src/main.js
@@ -152,6 +152,19 @@ Vue.config.productionTip = false; // 全局注入机构判断(省立同德系列 / 纯省立同德院区)。 // 所有组件无需单独注册 computed,模板与 this 中可直接使用 isTongdeOrg / isTongdeCampus Vue.mixin({ computed: { isTongdeOrg() { return this.$store.getters.isTongdeOrg; }, isTongdeCampus() { return this.$store.getters.isTongdeCampus; }, }, }); new Vue({ el: "#app", router,