Lsnsh Xin

Results 14 comments of Lsnsh Xin

Register the VueMarkdown component as a global component. ``` javascript // main.js import Vue from 'vue'; import VueMarkdown from 'vue-markdown'; Vue.component('vue-markdown', VueMarkdown); ``` ``` vue // App.vue i am a...

These issues may all need this PR: - https://github.com/facebook/create-react-app/issues/12146 - https://github.com/facebook/create-react-app/issues/12132 - https://github.com/facebook/create-react-app/issues/11770 - https://github.com/facebook/create-react-app/issues/11753 Similar PR, no progress: - https://github.com/facebook/create-react-app/pull/12026 - https://github.com/facebook/create-react-app/pull/11780 --- [SVGR](https://github.com/gregberge/svgr) issue, about SVG with CDATA:...

问题 1: 关于 “亮数相减” 应该是 “两数相减”,这个是第三方文档网站翻译的问题,建议访问官方文档 https://lodash.com/docs/4.17.15#subtract 问题 2: `_.subtract` 似乎存在 BUG ? 这个方法没有提及可以解决浮点数计算精度的问题,不能想当然的认为支持 --- Question 1: About "亮数相减" should be “两数相减”,that is an issue with third-party document website translation,...

https://www.electronjs.org/docs/latest/tutorial/installation#custom-mirrors-and-caches

> _.invoke(object, path, [args]) > > Invokes the method at path of object. > > Arguments > > object (Object): The object to query. > path (Array|string): The path of...

For FP(`lodash/fp`), may be need adjust the arguments position: ```javascript // Load the fp build. var fp = require("lodash/fp"); var object = { a: [{ b: { c: [1, 2,...

These some temp code can ignore error, may become ineffective overtime: ```ts // app.ts onLaunch // @ts-ignore Object.assign(globalThis.global, { Object: Object, isFinite: isFinite, Symbol: Symbol, Uint8Array: Uint8Array, Date: Date, parseInt:...

https://github.com/lodash/lodash/blob/11eb817cdfacf56c02d7005cbe520ffbeb0fe59a/_freeGlobal.js#L1-L4 About issue, may be `_freeGlobal.js` can use `globalThis` variable to compatible more case, but not sure if there will be other issues. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis ![image](https://github.com/lodash/lodash/assets/26019513/fcc66521-692e-4cd0-97d2-a981736762a1)

You can try using `_.reduce` to complete custom logic: ```javascript var array = [{ id: 1, number: 2 }, { id: 1, number: 3 }, { id: 2, number: 2...

Similar issue, access GitHub IP(`20.205.243.166:443`) timeout, need set up terminal proxy or adjust host IP.