@zgfe/modules-settings 2.0.0-zhongyuan.23 → 2.0.0-zhongyuan.24
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.
|
@@ -27,10 +27,9 @@ import util from '../../utils/util';
|
|
|
27
27
|
import request from '../../utils/ajax';
|
|
28
28
|
import apis from '../../constants/api';
|
|
29
29
|
import PicCircleSelect from '../../components/picCircleSelect';
|
|
30
|
-
import constants from '../../utils/constants';
|
|
31
30
|
import { uuid } from '@antv/x6/lib/util/string/uuid';
|
|
32
31
|
var getImgUrl = function getImgUrl(src, pageId) {
|
|
33
|
-
return
|
|
32
|
+
return src.indexOf('data:image') != -1 ? src : "".concat(window.location.origin, "/web/img/report/").concat(pageId, "/").concat(src);
|
|
34
33
|
// return constants.regExp.url.test(src)
|
|
35
34
|
// ? src
|
|
36
35
|
// : `${'https://test01.zhugeapi.com'}/web/img/report/${pageId}/${src}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "2.0.0-zhongyuan.
|
|
3
|
+
"version": "2.0.0-zhongyuan.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "b1559ccf3344d2aa7af139bcc912db33b791177d",
|
|
71
71
|
"gitHooks": {
|
|
72
72
|
"pre-commit": "lint-staged"
|
|
73
73
|
}
|