提交 b5adedc5 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix code review issues

上级 e262aedc
......@@ -218,11 +218,6 @@ const onTreeDataChanged = async () => {
console.log('cachedKeys', currSite.value.id, currProduct.value.id)
if (cachedKeys) expandedKeys.value = cachedKeys
// if (!cachedKeys || cachedKeys.length === 0) {
// getOpenKeys(treeData.value[0], false) // expend first level folder
// await setExpandedKeys(currSite.value.id, currProduct.value.id, expandedKeys.value)
// }
})
}
......@@ -644,21 +639,21 @@ onUnmounted(() => {
<style lang="less" scoped>
.left-pannel-contain{
text-align: center;
.workdir {
height: calc(100vh - 80px);
overflow: auto;
text-align: left;
}
.workdir-with-btn {
height: calc(100vh - 120px);
overflow: auto;
text-align: left;
}
.run-selected{
max-width: 100px;
margin: auto;
text-align: center;
margin-top: 10px;
}
.workdir {
height: calc(100vh - 80px);
overflow: auto;
text-align: left;
}
.workdir-with-btn {
height: calc(100vh - 120px);
overflow: auto;
text-align: left;
}
.run-selected{
max-width: 100px;
margin: auto;
text-align: center;
margin-top: 10px;
}
}
</style>
......@@ -59,7 +59,7 @@
</template>
<script setup lang="ts">
import {computed, defineComponent, onMounted, onUnmounted, ref, watch} from "vue";
import {computed, ref, watch} from "vue";
import Panel from '@/components/Panel.vue';
import Button from '@/components/Button.vue';
......
......@@ -64,8 +64,7 @@ import Table from "@/components/Table.vue";
import Modal from "@/utils/modal";
import Button from "@/components/Button.vue";
import LanguageSettings from "./LanguageSettings.vue";
import {saveInterpreter} from "@/views/interpreter/service";
import {listInterpreter, removeInterpreter, getLangSettings} from "@/views/interpreter/service";
import {saveInterpreter,listInterpreter, removeInterpreter, getLangSettings} from "@/views/interpreter/service";
import FormInterpreter from "@/views/interpreter/FormInterpreter.vue";
const props = defineProps<{
......
......@@ -12,20 +12,7 @@ module.exports = {
host: '0.0.0.0',//set minpc accessible
port: VUE_APP_PORT || 8000,
disableHostCheck: true,
// 配置反向代理
/*
proxy: {
'/api': {
target: '<url>',
ws: true,
changeOrigin: true
},
'/foo': {
target: '<other_url>'
}
},
*/
before: function(app, server) {
before: function(_app, _server) {
}
},
css: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册