cyl/dev
wangxia 4 years ago
commit c83a61d491

16932
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -447,6 +447,7 @@ export default {
} else { } else {
item.sex = "未知"; item.sex = "未知";
} }
// if (index % 2 === 0) { // if (index % 2 === 0) {
// item.status = 60; // item.status = 60;
// } // }
@ -459,6 +460,7 @@ export default {
// console.log(thirdly); // console.log(thirdly);
item.tel = first + " " + second + " " + thirdly; item.tel = first + " " + second + " " + thirdly;
} }
if (item.status === 60 || item.status === 70) { if (item.status === 60 || item.status === 70) {
item.isDown = true; item.isDown = true;
} else { } else {

@ -12,7 +12,6 @@ import moment from "moment";
import "moment/locale/zh-cn"; import "moment/locale/zh-cn";
import AMap from "vue-amap"; import AMap from "vue-amap";
Vue.use(AMap); Vue.use(AMap);
console.log("production");
AMap.initAMapApiLoader({ AMap.initAMapApiLoader({
// 高德key // 高德key
key: "44f4591aabba558514366f6e55f8d20e", // 自己到官网申请,我随便写的 key: "44f4591aabba558514366f6e55f8d20e", // 自己到官网申请,我随便写的

@ -13,8 +13,8 @@ console.log(baseURL);
axios.defaults.withCredentials = true; //添加这行代码 axios.defaults.withCredentials = true; //添加这行代码
// console.log(axios); // console.log(axios);
const service = axios.create({ const service = axios.create({
baseURL: "/api_prod", // url = base url + request url baseURL: "/api_prod", // url = base url + request url 测试
// baseURL: baseURL, // baseURL: "/api", // url = base url + request url // baseURL: baseURL, // baseURL: "/api", // url = base url + request url 正式
withCredentials: true, // send cookies when cross-domain requests withCredentials: true, // send cookies when cross-domain requests
timeout: 60000, // request timeout timeout: 60000, // request timeout
crossDomain: true, crossDomain: true,

@ -3,7 +3,6 @@
<img src="../assets/404.png" alt="" /> <img src="../assets/404.png" alt="" />
</div> </div>
</template> </template>
<script> <script>
export default { export default {
// //

Loading…
Cancel
Save