Commit d1bf801d authored by 程卓's avatar 程卓

dashboard根据url来展示

parent ab6e9a20
<template>
<div class="content">
{{$api.BASE_URL}}
{{url}}
<xuhui v-if="(url).indexOf('xuhui') > -1 || (url).indexOf('31.0.161.39') > -1||(url).indexOf('pudong') > -1 || (url).indexOf('211.136.105.193') > -1" />
<!-- <xuhui v-if="($api.BASE_URL).indexOf('xuhui') > -1 ||
($api.BASE_URL).indexOf('31.0.161.39') > -1||($api.BASE_URL).indexOf('pudong') > -1 || ($api.BASE_URL).indexOf('211.136.105.193') > -1" /> -->
......
<template>
<div>
<!-- 浦东 -->
{{$api.BASE_URL}}
{{url}}
<div id="home" class="layoutPadding" v-if="(this.$api.BASE_URL).indexOf('pudong') > -1 || (this.$api.BASE_URL).indexOf('211.136.105.193') > -1">
<div id="home" class="layoutPadding" v-if="(url).indexOf('pudong') > -1 || (url).indexOf('211.136.105.193') > -1">
<div class="topBox-l">
<div class="inner" style="">
<div>
......@@ -660,7 +658,6 @@ export default {
data() {
return{
url: window.location.origin,
ok,
nm,
date: new Date(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment