You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/08/03 12:31:27 UTC
[iotdb-web-workbench] 32/34: fix(optimize code)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git
commit c64dae3744851efe8e83187c476e562612062a30
Author: 470058871@qq.com <47...@qq.com>
AuthorDate: Thu Jun 2 08:55:24 2022 +0800
fix(optimize code)
---
frontend/src/styles/element.scss | 5 -----
frontend/src/views/Source/index.vue | 4 ----
frontend/vue.config.js | 10 ----------
3 files changed, 19 deletions(-)
diff --git a/frontend/src/styles/element.scss b/frontend/src/styles/element.scss
index fc556db..19691c8 100644
--- a/frontend/src/styles/element.scss
+++ b/frontend/src/styles/element.scss
@@ -50,11 +50,6 @@
background-color: transparent !important;
border-color: #15c294 !important;
}
- // &:focus {
- // color: none !important;
- // background-color: transparent !important;
- // border-color: #15c294 !important;
- // }
}
.button-delete:hover {
background: #fff !important;
diff --git a/frontend/src/views/Source/index.vue b/frontend/src/views/Source/index.vue
index e16e5bc..219c44a 100644
--- a/frontend/src/views/Source/index.vue
+++ b/frontend/src/views/Source/index.vue
@@ -816,10 +816,6 @@ export default {
axios.post(`/servers/${serverId.value}/users/${baseInfoForm.userName}/authorityPrivilege`, { ...reqObj }).then((rs) => {
if (rs && rs.code == 0) {
ElMessage.success(t('sourcePage.successEditPermit'));
- // store.dispatch('fetchAllPrivileges', {
- // serverId: serverId.value,
- // userName: baseInfoForm.userName,
- // });
}
});
};
diff --git a/frontend/vue.config.js b/frontend/vue.config.js
index a2636dc..a9800f5 100644
--- a/frontend/vue.config.js
+++ b/frontend/vue.config.js
@@ -38,14 +38,11 @@ module.exports = {
},
},
extract: {
- // 打包后css文件名称添加时间戳
filename: `css/[name].${Version}.css`,
chunkFilename: `css/chunk.[id].${Version}.css`,
},
},
configureWebpack: {
- // 重点
- // 输出重构 打包编译后的js文件名称,添加时间戳.
output: {
filename: `js/[name].${Version}.js`,
chunkFilename: `js/chunk.[id].${Version}.js`,
@@ -58,13 +55,6 @@ module.exports = {
target: 'http://192.168.1.84:9090',
progress: false,
},
- // '/user': {
- // target: 'http://119.84.128.59:8079/api',
- // changeOrigin: true,
- // pathRewrite: {
- // '^/user': ''
- // }
- // },
},
},
};