Commit 5b2413b1 authored by ZeMKI's avatar ZeMKI

Update app.js

parent 82348847
......@@ -29,18 +29,13 @@ if (process.env.MIX_ENV_MODE === 'production') {
Vue.config.devtools = false;
Vue.config.debug = false;
Vue.config.silent = true;
console.log("production");
var productionUrl = "mesort";
}else{
Vue.config.devtools = true;
Vue.config.debug = true;
Vue.config.silent = false;
console.log("local");
var productionUrl = "";
}
Vue.config.devtools = true;
Vue.config.debug = true;
Vue.config.silent = false;
Vue.prototype.trans = (key) => {
return _.isUndefined(window.trans[key])? key : window.trans[key];
......@@ -172,7 +167,7 @@ window.app = new Vue({
newstudy: {},
users: {},
newuser: {
showModal: false,
showmodal: false,
edituser: 0,
study: 0,
activeTab: 0
......@@ -377,8 +372,8 @@ window.app = new Vue({
document.getElementById(id).classList.toggle("hidden");
}
,
ShowModalFunction: function (id = null, study) {
this.newuser.showModal = !this.newuser.showModal;
showmodal: function (id = null, study) {
this.newuser.showmodal = !this.newuser.showmodal;
this.newuser.edituser = id;
this.newuser.study = study;
......
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