@scenetechnology/cj_iview_table 0.0.31 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25156,7 +25156,7 @@ if(localStorage.getItem('publicHost')){
|
|
|
25156
25156
|
if (false) {} else if (true) {
|
|
25157
25157
|
if (localStorage.getItem('is_root') === 'true' || localStorage.getItem('is_root') === 'false') { // 嵌入在使用端情况
|
|
25158
25158
|
baseUri = `${window.location.protocol}//${window.location.hostname}:${window.location.port}/`
|
|
25159
|
-
mapUrl = baseUri
|
|
25159
|
+
mapUrl = baseUri
|
|
25160
25160
|
} else {
|
|
25161
25161
|
baseUri = `${window.location.protocol}//${window.location.hostname}:${window.location.port}/`
|
|
25162
25162
|
mapUrl = `${window.location.protocol}//${window.location.hostname}:${window.location.port}/`
|
|
@@ -25195,7 +25195,7 @@ if(localStorage.getItem('publicHost')){
|
|
|
25195
25195
|
test: `${baseUri}simpalarm/api/`,
|
|
25196
25196
|
prod: `${baseUri}simpalarm/api/`,
|
|
25197
25197
|
simp: localStorage.getItem('is_root') === 'true' || localStorage.getItem('is_root') === 'false'
|
|
25198
|
-
? `${mapUrl}/index.php/api/`
|
|
25198
|
+
? `${mapUrl}simp/index.php/api/`
|
|
25199
25199
|
: `${mapUrl}index.php/api/`,
|
|
25200
25200
|
simpelements:`${baseUri}simpelements/api/`,
|
|
25201
25201
|
simpdouble:`${baseUri}simpdouble/api/`,
|