LIHKG IT界討論區(71) 寫CODE規則勿認真,IT三寶更稱心
庫克船長 2019-11-6 17:19:20
:^(

Ads

素晴 2019-11-6 17:21:25 IT看更
:^(
係咪要返shift
風蕭蕭兮逆水寒 2019-11-6 17:39:27 有冇寫react 同node js巴打知道點解我明明proxy set咗做locathost4001 但axios.get(/product)果陣會連咗去3000
:^(
:^(


:^(

:^(

:^(

:^(
春日一番 2019-11-6 17:42:16 IT 3寶之1
:^(
:^(
:^(
:^(
風蕭蕭兮逆水寒 2019-11-6 17:43:56 幾k
:^(
個名要有霸氣 2019-11-6 18:12:16 正常係咁
因為你frontend用3000
風蕭蕭兮逆水寒 2019-11-6 18:19:34 但我明明係client 果到個proxy set 咗做4001, login function 都正常接到,係唔知點解呢個唔得,cors又cors咗
:^(
:^(
春日一番 2019-11-6 18:21:33 on 9 agent推份DC oper比我
我回佢冇3皮唔撚考慮
毒撚研究所所長 2019-11-6 18:44:42
:^(
個名要有霸氣 2019-11-6 19:21:51 用左proxy佢會當個request係同一個domain
唔洗cors都得
PascalCase 2019-11-6 19:35:28 正常,話明proxy,梗係先返咗3000之後先幫你proxy去4001,係咪你request header有問題,如果Accept係text/html唔會做proxy
PascalCase 2019-11-6 19:37:33
:^(
風蕭蕭兮逆水寒 2019-11-6 19:39:32 delete 咗cors得咗了
:^(
:^(
:^(
嘴遁師青花 2019-11-6 19:41:21 print出黎唔同姐
你check if equal先
想自殺窮三代IT狗 2019-11-6 19:42:41 排文啦
https://docs.python.org/zh-tw/3/tutorial/floatingpoint.html
DelPiero 2019-11-6 19:54:48 我入政府cop,得返皮八,希望公務員個加薪通過啦
:^(
想自殺窮三代IT狗 2019-11-6 19:55:19 師兄,Backend 試吓用 Nestjs / Adonis.js 啦,pure expressjs 太土炮,難登大堂
:^(

https://nestjs.com/
https://adonisjs.com/

Front-end 可以試吓二選其一:
https://redux-dynamic-modules.js.org/
https://umijs.org/

學吓用 Redux, redux-saga
:^(
嘴遁師青花 2019-11-6 20:19:56 佢段code唔關呢個事

Ads

想自殺窮三代IT狗 2019-11-6 20:21:00 係咩,其實我唔熟 Python
:^(
唔係咁的 2019-11-6 20:41:21
:^(
個名要有霸氣 2019-11-6 20:50:07 我淨係用黎做api call
:^(
想自殺窮三代IT狗 2019-11-6 20:54:35 takeLatest, take, select, call, put 你玩熟可以寫好多變態嘢
:^(


actionChannel 連埋 back-end 玩仲爽
:^(