laterdayi

Results 98 comments of laterdayi

How is this different from storing a lot of data in controller in getx? Is there a performance gap? Can you describe it in the documentation

@typicode Looking forward to your help

@typicode 但是在package.json中无法直接使用 `pre-commit`,好像还是需要在.husky中创建对应的hooks文件

Is there a way to put the SH file on NPM and use it in the project, can you give a DEMO?

@typicode in npm scripts `prepare`, is ok However, post-merge requires creating a post-merge file in the.husky of the local project to implement the post-merge directive

``` onUpdateValue: (value: (string | number | null)[]) => { if (formData.value) formData.value.eqpIds = []; value?.length ? executeGetEquipmentNumberChildList(__, { params: { LayoutId: value, check: '1' } }) : handleQueryEquipmentNumberList(); }...

@thenbe But using style/* does not indent the first effect ![image](https://github.com/antfu/eslint-config/assets/20943608/99a424ac-5c82-4993-ab48-751da6892cdf)

``` value?.length ? executeGetEquipmentNumberChildList(__, { params: { LayoutId: value, check: '1' } }) : handleQueryEquipmentNumberList(); ``` ` 'style/indent': ['error', 2, { 'flatTernaryExpressions': false, offsetTernaryExpressions: true }],`

``` value?.length ? executeGetEquipmentNumberChildList(__, { params: { LayoutId: value, check: '1' } }) : **handleQueryEquipmentNumberList(); ``` ![image](https://github.com/antfu/eslint-config/assets/122137647/869f2474-95c8-412c-9581-86b2ac15368f) I expected that, but it prompted an error