fixed gql api file: ->url() replaced by ->createFileUrl()
This commit is contained in:
@ -3,7 +3,7 @@ import REST from 'vuejs/api/rest-axios'
|
||||
import MA from 'vuejs/api/ma-axios'
|
||||
import qs from 'querystring-es3'
|
||||
|
||||
import materiauGQL from 'vuejs/api/gql/materiauflaglist.fragment.gql'
|
||||
import materiauFlaglistGQL from 'vuejs/api/gql/materiauflaglist.fragment.gql'
|
||||
|
||||
// import router from 'vuejs/route' // this is not working
|
||||
|
||||
@ -331,7 +331,7 @@ export default {
|
||||
if (state.flagcolls[collid].items.length) {
|
||||
dispatch('loadMaterialsGQL', {
|
||||
ids: state.flagcolls[collid].items,
|
||||
gqlfragment: materiauGQL,
|
||||
gqlfragment: materiauFlaglistGQL,
|
||||
callBack: 'loadMaterialsCallBack',
|
||||
callBackArgs: { collid: collid }
|
||||
}).then(() => {
|
||||
@ -369,7 +369,7 @@ export default {
|
||||
|
||||
dispatch('loadMaterialsGQL', {
|
||||
ids: state.flagcolls[collid].items,
|
||||
gqlfragment: materiauGQL,
|
||||
gqlfragment: materiauFlaglistGQL,
|
||||
callBack: 'loadMaterialsCallBack',
|
||||
callBackArgs: { collid: collid }
|
||||
})
|
||||
|
Reference in New Issue
Block a user