Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit c64dae3

Browse files
committed
fix(optimize code)
1 parent dd8d83d commit c64dae3

3 files changed

Lines changed: 0 additions & 19 deletions

File tree

frontend/src/styles/element.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@
5050
background-color: transparent !important;
5151
border-color: #15c294 !important;
5252
}
53-
// &:focus {
54-
// color: none !important;
55-
// background-color: transparent !important;
56-
// border-color: #15c294 !important;
57-
// }
5853
}
5954
.button-delete:hover {
6055
background: #fff !important;

frontend/src/views/Source/index.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -816,10 +816,6 @@ export default {
816816
axios.post(`/servers/${serverId.value}/users/${baseInfoForm.userName}/authorityPrivilege`, { ...reqObj }).then((rs) => {
817817
if (rs && rs.code == 0) {
818818
ElMessage.success(t('sourcePage.successEditPermit'));
819-
// store.dispatch('fetchAllPrivileges', {
820-
// serverId: serverId.value,
821-
// userName: baseInfoForm.userName,
822-
// });
823819
}
824820
});
825821
};

frontend/vue.config.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,11 @@ module.exports = {
3838
},
3939
},
4040
extract: {
41-
// 打包后css文件名称添加时间戳
4241
filename: `css/[name].${Version}.css`,
4342
chunkFilename: `css/chunk.[id].${Version}.css`,
4443
},
4544
},
4645
configureWebpack: {
47-
// 重点
48-
// 输出重构 打包编译后的js文件名称,添加时间戳.
4946
output: {
5047
filename: `js/[name].${Version}.js`,
5148
chunkFilename: `js/chunk.[id].${Version}.js`,
@@ -58,13 +55,6 @@ module.exports = {
5855
target: 'http://192.168.1.84:9090',
5956
progress: false,
6057
},
61-
// '/user': {
62-
// target: 'http://119.84.128.59:8079/api',
63-
// changeOrigin: true,
64-
// pathRewrite: {
65-
// '^/user': ''
66-
// }
67-
// },
6858
},
6959
},
7060
};

0 commit comments

Comments
 (0)