hasyrails / calendar-vue-original

0 stars 0 forks source link

58 todo card edit axios / カード編集機能をaxiosで実装する #115

Closed hasyrails closed 3 years ago

hasyrails commented 3 years ago

またもや

TypeError: Cannot read property '_wrapper' of undefined

このエラーの解消は保留する

hasyrails commented 3 years ago

編集入力フォームをコンポーネント化することで解決

A Form Component in Vue.js – Making nice wrappers

hasyrails commented 3 years ago

CSRF対策

【Rails】 API開発で『Can't verify CSRF token authenticity』といわれたときの対応

hasyrails commented 3 years ago

更新時のエラー

ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: UNIQUE constraint failed: cards.id: INSERT INTO "cards" ("id", "title", "body", "list_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)):
hasyrails commented 3 years ago

一応の更新機能は実装完了

やはり、TypeError: Cannot read property '_wrapper' of undefinedが 発生してしまう。

更新フォームに入力 →更新ボタンを押くだし →ページリロード発火で更新内容表示としている。

v-modelの階層を深くすると避けられない?

hasyrails commented 3 years ago

誤ってmaster→masterでmergeしてしまった‥ commit前にブランチを確認すること