@mjhls/mjh-framework 1.0.92 → 1.0.93
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 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -5
package/dist/index.js
CHANGED
|
@@ -7334,7 +7334,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
7334
7334
|
|
|
7335
7335
|
|
|
7336
7336
|
var getLink = function getLink(url, className, name, key, blank) {
|
|
7337
|
-
if (url.includes('https://') || url.includes('http://')) {
|
|
7337
|
+
if (url && (url.includes('https://') || url.includes('http://'))) {
|
|
7338
7338
|
return React__default.createElement(
|
|
7339
7339
|
'a',
|
|
7340
7340
|
{ target: blank ? '_blank' : '_self', key: key, href: url || '#', className: className },
|