Commit a979cc11 authored by shabai517's avatar shabai517
Browse files

add store scheme

parent 5cbf7e61
import Vue from 'vue';
import Vuex from 'vuex';
//只要是plugin,都可以用这种use的方法去应用。
Vue.use(Vuex);
export default new Vuex.Store({
state:{
baseURL: location.hostname.match(/ebi/)?'/pride':'',
baseApiURL: location.hostname.match(/ebi/)?'http://wwwdev.ebi.ac.uk/pride/ws/archive':'http://ves-pg-41:9020',
},
});
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment