@@ -3,6 +3,18 @@
<router-view />
</div>
</template>
+<script>
+export default {
+ created() {
+ let host = `${window.location.hostname}`; //`999991.smart.jilinjobswx.cn`
+ let arr = host.split('.');
+ if (arr.length > 0) {
+ let schId = arr[0];
+ sessionStorage.setItem('schId', schId);
+ }
+ },
+};
+</script>
<style lang="less">
body {