add comment

master
yujialong 3 years ago
parent e63367d2dc
commit c475d62228
  1. 4
      src/pages/account/login/index.vue
  2. 7
      src/pages/client/list/index.vue
  3. 2
      src/pages/system/list/index.vue
  4. 7
      src/pages/system/list/role.vue
  5. 6
      src/setting.js

@ -30,8 +30,8 @@ export default {
data: function() {
return {
loginForm: {
username: 'admin',
password: 'admin',
username: '',
password: '',
},
loginRules: {
username: [{ required: true, message: '请输入用户名', trigger: 'blur' }],

@ -228,11 +228,6 @@ export default {
</script>
<style lang="scss" scoped>
.mag{
margin-right: 20px;
}
/deep/.el-row{
margin-bottom: 0;
}
</style>

@ -69,6 +69,6 @@ export default {
};
</script>
<style lang="scss" scopted>
<style lang="scss" scoped>
</style>

@ -261,13 +261,6 @@ export default {
</script>
<style lang="scss" scoped>
.no-mb /deep/.el-form-item{
margin-bottom: 0;
}
/deep/.el-row{
padding: 0 !important;
margin-bottom: 0;
}
.per-wrap{
max-height: 300px;
overflow: auto;

@ -15,8 +15,8 @@ const Setting = {
// 页面切换时,是否显示模拟的进度条
showProgressBar: true,
// 接口请求地址
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://8.134.8.197:9000',
apiBaseURL: env === 'development' ? 'http://8.134.8.197:9000' : 'http://8.134.8.197:9000',
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://112.74.110.92:9000',
apiBaseURL: env === 'development' ? 'http://112.74.110.92:9000' : 'http://112.74.110.92:9000',
// 接口请求返回错误时,弹窗的持续时间,单位:秒
modalDuration: 3,
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
@ -58,7 +58,7 @@ const Setting = {
sameRouteForceUpdate: false,
// 文件上传
upload: {
apiURL: 'http://8.134.8.197:8001',
apiURL: 'http://112.74.110.92:8001',
maxSize: 30,
},
// 是否使用动态路由

Loading…
Cancel
Save