intro 中文、新增用户bug

This commit is contained in:
bwcx_jzy 2021-12-30 12:57:49 +08:00
parent 456b969076
commit f01780af85
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
15 changed files with 43 additions and 34 deletions

View File

@ -14,6 +14,7 @@
2. 【server】定时执行相关 cron 表达式输入提示示例数据
3. 【server】节点升级菜单取消整合到【系统管理】-> 【在线升级】中
4. 【server】邮箱配置优化,新增 smtp、port 示例数据,取消 SSL 端口字段(感谢@💎ℳ๓₯㎕斌💎💘)
5. 【server】fix新增用户无法正常输入bug感谢@在路上)
------

View File

@ -551,7 +551,7 @@ export function stopProject(params) {
/**
* 所有的运行模式
*/
export const runModeList = ["ClassPath", "Jar", "JarWar", "JavaExtDirsCp", "File", "Dsl"];
export const runModeList = ["ClassPath", "Jar", "JarWar", "JavaExtDirsCp", "File"];
/**
* java 项目的运行模式
@ -561,4 +561,4 @@ export const javaModes = ["ClassPath", "Jar", "JarWar", "JavaExtDirsCp"];
/**
* 有状态管理的运行模式
*/
export const noFileModes = ["ClassPath", "Jar", "JarWar", "JavaExtDirsCp", "Dsl"];
export const noFileModes = ["ClassPath", "Jar", "JarWar", "JavaExtDirsCp"];

View File

@ -18,9 +18,18 @@ import "./router/auth";
// debug routerBase
window.routerBase = window.routerBase === "<routerBase>" ? "" : window.routerBase;
// introJs 按钮中文
const intro = introJs();
intro.setOptions({
prevLabel: "上一步",
nextLabel: "下一步",
// skipLabel: "跳过",
doneLabel: "结束引导",
});
Vue.config.productionTip = false;
Vue.prototype.$loading = Loading;
Vue.prototype.$introJs = introJs;
Vue.prototype.$introJs = intro;
Vue.use(Antd);
Vue.use(Tree);
Vue.use(Progress);

View File

@ -448,7 +448,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -462,7 +462,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//

View File

@ -564,7 +564,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -578,7 +578,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//

View File

@ -80,7 +80,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -103,7 +103,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
// login
handleLogin(e) {

View File

@ -67,7 +67,7 @@ export default {
const used = localStorage.getItem(GUIDE_HOME_USED_KEY) === "true";
// 使
if (this.getGuideFlag && !used) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -128,7 +128,7 @@ export default {
});
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//
toggleGuide() {

View File

@ -144,7 +144,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -158,7 +158,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//

View File

@ -154,7 +154,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -168,7 +168,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//

View File

@ -277,7 +277,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -291,7 +291,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
// SSH

View File

@ -119,7 +119,7 @@ export default {
const used = localStorage.getItem(GUIDE_NODE_USED_KEY) === "true";
// 使
if (this.getGuideFlag && !used) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -151,7 +151,7 @@ export default {
});
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//
loadNodeMenu() {

View File

@ -416,7 +416,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -440,7 +440,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//

View File

@ -75,7 +75,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -94,7 +94,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//
loadData() {

View File

@ -76,7 +76,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -95,7 +95,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
//
loadData() {

View File

@ -207,7 +207,7 @@ export default {
//
introGuide() {
if (this.getGuideFlag) {
this.$introJs()
this.$introJs
.setOptions({
hidePrev: true,
steps: [
@ -221,7 +221,7 @@ export default {
.start();
return false;
}
this.$introJs().exit();
this.$introJs.exit();
},
onCheckedLeft(_, e, checkedKeys, itemSelect) {
const { eventKey } = e.node;
@ -286,17 +286,16 @@ export default {
},
//
handleAdd() {
this.createOption = true;
this.temp = {};
this.targetKeys = [];
this.loadWorkSpaceListAll();
this.editUserVisible = true;
this.$nextTick(() => {
setTimeout(() => {
this.introGuide();
}, 500);
this.temp = {};
this.createOption = true;
this.targetKeys = [];
this.loadWorkSpaceListAll();
this.editUserVisible = true;
this.$refs["editUserForm"] && this.$refs["editUserForm"].resetFields();
});
},
//
handleEdit(record) {