We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41b1aa commit a66de9fCopy full SHA for a66de9f
src/store/mutations.js
@@ -416,7 +416,9 @@ const mutations = {
416
*/
417
[types.IMPORT_IMAGE]: (state, payload) => {
418
console.log(`import image invoked. image: ${payload.img} ${payload.route}`)
419
- state.imagePath = { ...state.imagePath, [payload.route]: payload.img }
+
420
+ console.log(payload.img.replace(/\\/g,"/"))
421
+ state.imagePath = { ...state.imagePath, [payload.route]: payload.img.replace(/\\/g,"/") }
422
// state.imagePath[payload.route] = payload.img
423
},
424
[types.CLEAR_IMAGE]: (state, payload) => {
0 commit comments