Commit 784ecc7a authored by 程卓's avatar 程卓

init url

parent 48983153
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<link rel="icon" href="./favicon.ico" /> <link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>静安智慧房管</title> <title>静安智慧房管</title>
<script type="module" crossorigin src="./assets/index.6824a7c1.js"></script> <script type="module" crossorigin src="./assets/index.bb375392.js"></script>
<link rel="modulepreload" href="./assets/vendor.d8be57b6.js"> <link rel="modulepreload" href="./assets/vendor.d8be57b6.js">
<link rel="stylesheet" href="./assets/vendor.db35e2cd.css"> <link rel="stylesheet" href="./assets/vendor.db35e2cd.css">
<link rel="stylesheet" href="./assets/index.1e95251e.css"> <link rel="stylesheet" href="./assets/index.1e95251e.css">
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "jingan-wisdom",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"@dom-utils/selector-path": "^1.0.3", "@dom-utils/selector-path": "^1.0.3",
......
let BASE_URL: string = '' let BASE_URL: string = ''
switch (process.env.NODE_ENV) { switch (process.env.NODE_ENV) {
case 'production': case 'production':
BASE_URL = 'http://ja-hm.omniview.pro/api/v2' BASE_URL = 'http://jingan.omniview.pro/api/v2'
break break
default: default:
BASE_URL = 'http://ja-hm.omniview.pro/api/v2' BASE_URL = 'http://jingan.omniview.pro/api/v2'
} }
export default { export default {
......
...@@ -170,11 +170,11 @@ let BASE_URL = ''; ...@@ -170,11 +170,11 @@ let BASE_URL = '';
switch ("production") { switch ("production") {
case 'production': case 'production':
BASE_URL = 'http://ja-hm.omniview.pro/api/v2'; BASE_URL = 'http://jingan.omniview.pro//api/v2';
break; break;
default: default:
BASE_URL = 'http://ja-hm.omniview.pro/api/v2'; BASE_URL = 'http://jingan.omniview.pro//api/v2';
} }
var api = { var api = {
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
// vue, // vue,
// axios, // axios,
// qs, // qs,
// )('http://ja-hm.omniview.pro/api/v2') // )('http://jingan.omniview.pro//api/v2')
window._base_url = 'http://ja-hm.omniview.pro/api/v2' window._base_url = 'http://jingan.omniview.pro//api/v2'
import { components, eventBus } from './component-lib.esm' // 未正式上生产暂时先如此代替 import { components, eventBus } from './component-lib.esm' // 未正式上生产暂时先如此代替
export default components export default components
......
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