Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid input image to be 404 #2

Open
fritx opened this issue Jul 10, 2016 · 0 comments
Open

Avoid input image to be 404 #2

fritx opened this issue Jul 10, 2016 · 0 comments

Comments

@fritx
Copy link
Member

fritx commented Jul 10, 2016

cssgram

http://fritx.github.io/FEbps/CSSgram-Vuex/dist/
Currently the inputValue and imageSrc change together at an INPUT_CHANGE.

const mutations = {
  [INPUT_CHANGE] (state, value) {
    state.showCamera = false
    state.inputValue = value
    state.imageSrc = value
  },
// ...

export function inputChange ({ dispatch }, value) {
  dispatch(INPUT_CHANGE, value)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant