diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 303cb19a..9455facc 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -76,6 +76,7 @@ Vue.filter('dateformat', function (dataStr, pattern = 'YYY-MM-DD HH:mm:ss') { //(函数里面的参数 第一个是传递的数据,第二个是需要转换的时间格式) }) +window.IS_TESTING = false; if (process.env.NODE_ENV == 'development'){ window.IS_TESTING = true; } diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 093607d5..fdf381b6 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -65,6 +65,7 @@ export default { loginForm: { // username: "admin", // password: "dxc123!@#", + //dxc123!@# username: "", password: "", rememberMe: false,