diff --git a/console-ui/src/globalLib.js b/console-ui/src/globalLib.js index 90d772cb135..fd78a93271b 100644 --- a/console-ui/src/globalLib.js +++ b/console-ui/src/globalLib.js @@ -504,7 +504,6 @@ const request = (function(_global) { const [url, paramsStr] = config.url.split('?'); const params = paramsStr ? paramsStr.split('&') : []; params.push(`accessToken=${accessToken}`); - params.push('message=true'); return $.ajax( Object.assign({}, config, { diff --git a/console-ui/src/utils/request.js b/console-ui/src/utils/request.js index c157e6b5149..08f47629c3a 100644 --- a/console-ui/src/utils/request.js +++ b/console-ui/src/utils/request.js @@ -39,7 +39,6 @@ const request = () => { if (!params) { config.params = {}; } - config.params.message = true; if (!url.includes('auth/users/login')) { let token = {}; try { diff --git a/console/src/main/resources/application.properties b/console/src/main/resources/application.properties index 273d6dcd38e..b39c4bde6df 100644 --- a/console/src/main/resources/application.properties +++ b/console/src/main/resources/application.properties @@ -18,7 +18,7 @@ ### Default web context path: server.servlet.contextPath=/nacos ### Include message field -server.error.include-message=ON_PARAM +server.error.include-message=ALWAYS ### Default web server port: #*************** Network Related Configurations ***************# diff --git a/console/src/main/resources/static/index.html b/console/src/main/resources/static/index.html index f9fbcbb1349..7d5ac101179 100644 --- a/console/src/main/resources/static/index.html +++ b/console/src/main/resources/static/index.html @@ -35,7 +35,7 @@ - +
@@ -56,6 +56,6 @@ - +