-
TypeError: e.createContext is not a function
-
ReferenceError: window is not defined
at /home/forge/mengyangnews/node_modules/react-zmage/lib/zmage.development.js:350:2
at /home/forge/mengyangnews/node_modules/react-zmage/lib/zmage.devel…
-
PS D:\project\saas-manage-platform> npm run build
> saas-react-onlischool@1.0.0 build
> node scripts/build.js
Creating an optimized production build...
Failed to compile.
Failed to minify t…
-
版本: "react-zmage": "^0.8.5-beta.37",
示例代码:
```javascript
Zmage.browsing({src: "https://static.test.pajkdc.com/image/T1X7EX3yhT1RyJcC6K.png|T1TULX3yYT1RyJcC6K?img=/tf,d_webp,q_80", set: temp})}>查…
-
react Context https://www.jianshu.com/p/1f87714597c7
前端库 https://github.com/xfcdxg/mulan-lib
方法 https://blog.csdn.net/weixin_43624724/article/details/102840494
一些方法 https://www.html.cn/doc/undersco…
-
如题
-
package.json中
react和react-dom这两个包目前在dependencies依赖中
能否优化到devDependencies或者peerDependencies?
我目前的项目webpack配置会把react设置alias抽出来然后请求cdn,减少打包文件体积
用到react-zmage之后,react和react-dom就也被加到打包里面了
-
你好啊,`react-zmage`是一个很棒的组件
可以添加一个:在放大查看图片时,能在右上角或是某个角落`显示当前图片的文件名`这样的功能吗?
-
react项目配置了懒加载。其中img有src和data-src属性。src指向小的占位图,data-src是原图地址。
问题:Zmage放大是src小占位。
有哪些修改建议,使zamge成功显示data-src原图,谢谢。
-
使用点击事件,但是报错TypeError: Zmage.browsing is not a function