FUD2008

Results 12 comments of FUD2008

@zipeijun vuex 本身臃肿指什么呢?是指vuex 的文件会变得很大么? 如果是这样的话可以拆分,比如一个页面对应一个vuex module,参见 https://vuex.vuejs.org/guide/modules.html

Now, what is the best practice ?

I want to use one `prop` to provide value for all child components ``` typescript class Parent extends Vue { @Prop({ type: Number default: 0 }) readonly weight!: number //...

> @FuDesign2008 这里臃肿指的是 Vuex 的 Getters、Getters 本身是全局的、即使使用 module、拆分的仅仅是代码。 所以我认为 api 还是不适合使用 Vuex 来进行管理、单独抽离 api 层来进行管理和转换来的好一些。 好久没有看这个 issue, 发现参与的工程已经走在单独的API层路上。 - 在API层,一个 API 一个文件,将 API 抽象成函数,也方便书写请求参数/返回值的 typescript 类型 - Vuex / Pinia...

1. 作为windows新手,switchhosts 启动后没有显示主界面,只有在任务栏右下角有一个小小的图表——个人误以为启动后闪退了。点击任务栏右下角,可以显示主界面。 1. hosts文件无法修改,可以参考 @mingyujiao 的解决方案

1. This commit is only fix for the word that includes `$`, is not a universal solution. 1. The [source file](https://github.com/mileszs/ack.vim/blob/36e40f9ec91bdbf6f1adf408522a73a6925c3042/autoload/ack.vim#L50) has following comment. I'm not familiar with vimscript and...

OMG, this issue is still open.