inl-ui 0.1.122 → 0.1.123
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.
- package/dist/components/index.cjs +13 -11
- package/dist/components/index.js +13 -11
- package/dist/index.cjs +14 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -12
- package/package.json +1 -1
|
@@ -211,18 +211,20 @@ function getIframeUrl(url) {
|
|
|
211
211
|
async function checkIframeUrl(url) {
|
|
212
212
|
const iframeUrl = getIframeUrl(url);
|
|
213
213
|
let code = 200;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
code
|
|
214
|
+
if (url.indexOf("noCheck") === -1) {
|
|
215
|
+
try {
|
|
216
|
+
const res = await fetch(`/api/common/v1/sysconfig/curlForResponseCode?requestMethod=get&url=${encodeURIComponent(iframeUrl)}`, {
|
|
217
|
+
headers: getCommonHeaders()
|
|
218
|
+
});
|
|
219
|
+
if (res.status !== 404) {
|
|
220
|
+
const json = await res.json();
|
|
221
|
+
code = json.data;
|
|
222
|
+
if (json.code === "M5001") {
|
|
223
|
+
code = 500;
|
|
224
|
+
}
|
|
223
225
|
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
+
} catch (e) {}
|
|
227
|
+
}
|
|
226
228
|
return code;
|
|
227
229
|
}
|
|
228
230
|
|
package/dist/components/index.js
CHANGED
|
@@ -183,18 +183,20 @@ function getIframeUrl(url) {
|
|
|
183
183
|
async function checkIframeUrl(url) {
|
|
184
184
|
const iframeUrl = getIframeUrl(url);
|
|
185
185
|
let code = 200;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
code
|
|
186
|
+
if (url.indexOf("noCheck") === -1) {
|
|
187
|
+
try {
|
|
188
|
+
const res = await fetch(`/api/common/v1/sysconfig/curlForResponseCode?requestMethod=get&url=${encodeURIComponent(iframeUrl)}`, {
|
|
189
|
+
headers: getCommonHeaders()
|
|
190
|
+
});
|
|
191
|
+
if (res.status !== 404) {
|
|
192
|
+
const json = await res.json();
|
|
193
|
+
code = json.data;
|
|
194
|
+
if (json.code === "M5001") {
|
|
195
|
+
code = 500;
|
|
196
|
+
}
|
|
195
197
|
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
+
} catch (e) {}
|
|
199
|
+
}
|
|
198
200
|
return code;
|
|
199
201
|
}
|
|
200
202
|
|
package/dist/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios$2);
|
|
|
43
43
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
44
44
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
45
45
|
|
|
46
|
-
var version = "0.1.
|
|
46
|
+
var version = "0.1.122";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -7322,18 +7322,20 @@ function getIframeUrl(url) {
|
|
|
7322
7322
|
async function checkIframeUrl(url) {
|
|
7323
7323
|
const iframeUrl = getIframeUrl(url);
|
|
7324
7324
|
let code = 200;
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
code
|
|
7325
|
+
if (url.indexOf("noCheck") === -1) {
|
|
7326
|
+
try {
|
|
7327
|
+
const res = await fetch(`/api/common/v1/sysconfig/curlForResponseCode?requestMethod=get&url=${encodeURIComponent(iframeUrl)}`, {
|
|
7328
|
+
headers: getCommonHeaders()
|
|
7329
|
+
});
|
|
7330
|
+
if (res.status !== 404) {
|
|
7331
|
+
const json = await res.json();
|
|
7332
|
+
code = json.data;
|
|
7333
|
+
if (json.code === "M5001") {
|
|
7334
|
+
code = 500;
|
|
7335
|
+
}
|
|
7334
7336
|
}
|
|
7335
|
-
}
|
|
7336
|
-
}
|
|
7337
|
+
} catch (e) {}
|
|
7338
|
+
}
|
|
7337
7339
|
return code;
|
|
7338
7340
|
}
|
|
7339
7341
|
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.122";
|
|
15
15
|
|
|
16
16
|
declare const _default$p: {
|
|
17
17
|
set(theme: string): void;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
13
13
|
import { marked } from 'marked';
|
|
14
14
|
import '@sszj-temp/mobile/style.css';
|
|
15
15
|
|
|
16
|
-
var version = "0.1.
|
|
16
|
+
var version = "0.1.122";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -7292,18 +7292,20 @@ function getIframeUrl(url) {
|
|
|
7292
7292
|
async function checkIframeUrl(url) {
|
|
7293
7293
|
const iframeUrl = getIframeUrl(url);
|
|
7294
7294
|
let code = 200;
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
code
|
|
7295
|
+
if (url.indexOf("noCheck") === -1) {
|
|
7296
|
+
try {
|
|
7297
|
+
const res = await fetch(`/api/common/v1/sysconfig/curlForResponseCode?requestMethod=get&url=${encodeURIComponent(iframeUrl)}`, {
|
|
7298
|
+
headers: getCommonHeaders()
|
|
7299
|
+
});
|
|
7300
|
+
if (res.status !== 404) {
|
|
7301
|
+
const json = await res.json();
|
|
7302
|
+
code = json.data;
|
|
7303
|
+
if (json.code === "M5001") {
|
|
7304
|
+
code = 500;
|
|
7305
|
+
}
|
|
7304
7306
|
}
|
|
7305
|
-
}
|
|
7306
|
-
}
|
|
7307
|
+
} catch (e) {}
|
|
7308
|
+
}
|
|
7307
7309
|
return code;
|
|
7308
7310
|
}
|
|
7309
7311
|
|