This commit is contained in:
@@ -66,8 +66,11 @@ export default {
|
||||
window.location.hostname == "localhost" &&
|
||||
window.location.port == "8080"
|
||||
) {
|
||||
store.commit("logItem", "apiutil::APIUrl -> setting to dev. mode");
|
||||
store.commit("setAPIURL", "http://localhost:7575/api/v8.0/");
|
||||
store.commit(
|
||||
"logItem",
|
||||
"apiutil::APIUrl -> setting to dev. mode: " + store.state.apiUrl
|
||||
);
|
||||
} else {
|
||||
//production location <protocol>//<hostname>:<port>/
|
||||
store.commit(
|
||||
|
||||
@@ -3,7 +3,7 @@ import Vuex from "vuex";
|
||||
import createPersistedState from "vuex-persistedstate";
|
||||
import _ from "./utils/libs/lodash.js";
|
||||
|
||||
const MaxLogLength = 3;
|
||||
const MaxLogLength = 100;
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* xeslint-disable */
|
||||
//import store from "../store";
|
||||
import store from "../store";
|
||||
|
||||
function dealWithError(msg) {
|
||||
alert(msg);
|
||||
store.commit("logItem", msg);
|
||||
}
|
||||
export default {
|
||||
handleGeneralError(message, source, lineno, colno, error) {
|
||||
|
||||
Reference in New Issue
Block a user