V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  gap  ›  全部回复第 23 页 / 共 23 页
回复总数  447
1 ... 14  15  16  17  18  19  20  21  22  23  
@445141126


我现在遇到个问题, data 中用到的 state 返回了 undefined ,貌似是 computed 属性返回慢了一步?

```js
data() {
return {
selectedPeriod: this.currentPeriod // view 中访问 this.selectedPeriod.from 报错
}
},
computed: mapGetter(['currentPeriod'])
```
@ferrum 请问你最后用的是怎样的写法呢?都通过 this.$store 去取 getter 和 action 吗?
@adspe 还是不行,简直太奇怪了
@xinnix
@pathen

我的 webpack loader 也很简单,请问是漏掉了什么吗?
loaders: [
{ test: /\.js$/, exclude: [ /node_modules/ ], loader: 'babel'}]
@jun4rui 我也想用python但只有跟着公司走...
@ninechapter 哦明白了,只是觉得如果你们是想推广的话可以考虑将一节免费课录制了便于传播,让更多的人能了解你们
请问有录像吗?
1 ... 14  15  16  17  18  19  20  21  22  23  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3839 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 04:19 · PVG 12:19 · LAX 21:19 · JFK 00:19
♥ Do have faith in what you're doing.