fmui-base 2.1.5 → 2.1.6
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/README.md +1 -0
- package/lib/process_info/processInfo.js +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2945,6 +2945,16 @@ var PageHome = function (_React$Component) {
|
|
|
2945
2945
|
});
|
|
2946
2946
|
});
|
|
2947
2947
|
} else {
|
|
2948
|
+
//项目开发模块统一扩展
|
|
2949
|
+
var mobileModuleExt;
|
|
2950
|
+
try {
|
|
2951
|
+
if (t.state.module) {
|
|
2952
|
+
mobileModuleExt = typeof eval(t.state.module + "_mobileExt") !== 'undefined' ? eval(t.state.module + "_mobileExt") : null;
|
|
2953
|
+
}
|
|
2954
|
+
} catch (e) {}
|
|
2955
|
+
// alert("exception: "+e.message);
|
|
2956
|
+
|
|
2957
|
+
|
|
2948
2958
|
//项目开发扩展
|
|
2949
2959
|
var mobileExt;
|
|
2950
2960
|
try {
|
|
@@ -2966,6 +2976,18 @@ var PageHome = function (_React$Component) {
|
|
|
2966
2976
|
content: msg
|
|
2967
2977
|
});
|
|
2968
2978
|
});
|
|
2979
|
+
} else if (typeof mobileModuleExt !== 'undefined' && typeof mobileModuleExt[operate] === "function") {
|
|
2980
|
+
mobileModuleExt[operate](t.state, function (msg) {
|
|
2981
|
+
_Toast2.default.show({
|
|
2982
|
+
type: 'success',
|
|
2983
|
+
content: msg
|
|
2984
|
+
});
|
|
2985
|
+
}, function (msg) {
|
|
2986
|
+
_Toast2.default.show({
|
|
2987
|
+
type: 'error',
|
|
2988
|
+
content: msg
|
|
2989
|
+
});
|
|
2990
|
+
});
|
|
2969
2991
|
}
|
|
2970
2992
|
}
|
|
2971
2993
|
}
|