diff --git a/config/index.js b/config/index.js index f70a9d5..fef0c38 100644 --- a/config/index.js +++ b/config/index.js @@ -57,7 +57,7 @@ module.exports = { * then assetsPublicPath should be set to "/bar/". * In most cases please use '/' !!! */ - assetsPublicPath: '/', + assetsPublicPath: './', /** * Source Maps diff --git a/package.json b/package.json index c19e1cf..a0b35c0 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,9 @@ "xlsx": "^0.11.16", "jszip": "3.1.5", "@riophae/vue-treeselect": "0.0.37", - "file-saver": "1.3.8" + "file-saver": "1.3.8", + "sockjs-client": "1.3.0", + "stompjs": "2.3.3" }, "devDependencies": { "autoprefixer": "8.5.0", diff --git a/src/icons/svg/codeConsole.svg b/src/icons/svg/codeConsole.svg new file mode 100644 index 0000000..40c2ea3 --- /dev/null +++ b/src/icons/svg/codeConsole.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/lock.svg b/src/icons/svg/lock.svg new file mode 100644 index 0000000..bee8924 --- /dev/null +++ b/src/icons/svg/lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/unlock.svg b/src/icons/svg/unlock.svg new file mode 100644 index 0000000..d412720 --- /dev/null +++ b/src/icons/svg/unlock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main.js b/src/main.js index cc2da1f..a335358 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,6 @@ import Vue from 'vue' import 'normalize.css/normalize.css' // A modern alternative to CSS resets - import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n diff --git a/src/views/monitor/log/msg.vue b/src/views/monitor/log/msg.vue new file mode 100644 index 0000000..c630344 --- /dev/null +++ b/src/views/monitor/log/msg.vue @@ -0,0 +1,120 @@ + + + + + + + + + real-time console + + + + {{ item.name }} + {{ item.timestamp+' ' }} + {{ item.threadName+' ' }} + + {{ item.level+' ' }} + + {{ item.className+' ' }} + + {{ item.exception }} + + + + + + + +