Nfer Zhuang

Results 14 comments of Nfer Zhuang

Hi @edemaine , the CI/test faild with `error: failed to solve: rpc error: code = Unknown desc = executor failed running` So, is that a CI workflow error? If so,...

please check you .eslintrc file, do it has below config: ``` // disallow reassignment of function parameters // disallow parameter object manipulation except for specific exclusions 'no-param-reassign': ['error', { props:...

you can disable this eslint-rule in .vue files or in .eslintrc, they are both not hacks.

Could you give more informations?

try ` @tab-selected="tabSelected"`

the emit codes: ``` select (index) { this.$emit('tab-selected', index) } ``` then, you can get the current open tab index. trans the index to label in project codes.

可以使用下述的方式写入Log,来确认是没有收到消息,还是其它地方处理的有问题: ``` function logg($text) { file_put_contents('./data/log.txt',$text."\n", FILE_APPEND); } $options = array( 'token'=>'xxxxxxxxxxx', 'encodingaeskey'=>'xxxxxxxxxxx', 'appid'=>'xxxxxxxxxxx', 'appsecret'=>'xxxxxxxxxxx', 'debug'=>true, 'logcallback' => 'logg' ); $weObj = new Wechat($options); ``` 注意,需要提前创建./data/log.txt,并修改响应的读写权限

http://php.net/manual/en/language.types.array.php > As of PHP 5.4 you can also use the short array syntax, which replaces array() with []. http://stackoverflow.com/questions/5966746/best-way-to-initialize-empty-array-in-php > In ECMAScript implementations (for instance, ActionScript or JavaScript), Array()...

抱歉,我考虑不周。你提一个pull request吧

不需要reply()的,详情请参考源代码: ``` public function sendTemplateMessage($data){ if (!$this->access_token && !$this->checkAuth()) return false; $result = $this->http_post(self::API_URL_PREFIX.self::TEMPLATE_SEND_URL.'access_token='.$this->access_token,self::json_encode($data)); if($result){ $json = json_decode($result,true); if (!$json || !empty($json['errcode'])) { $this->errCode = $json['errcode']; $this->errMsg = $json['errmsg']; return...