邓洁: 修改bug

This commit is contained in:
邓洁
2023-12-30 21:42:08 +08:00
parent a5602f03cd
commit 043a22cabb
5 changed files with 37 additions and 22 deletions

View File

@@ -80,6 +80,9 @@ const handleGoTunnelMgr = () => {
router.push("/tunnel/" + form.value.siteId + "/" + type + "/" + userId);
};
const handleSave = async () => {
if(form.value.constructionLength==null){
form.value.constructionLength=0
}
const data = {
tunnelId: tunnelId,
tunnelName: form.value.tunnelName,

View File

@@ -47,7 +47,7 @@ const authStore = useAuthStore();
const loginForm = reactive({
// username: "admin",
password: "123456",
username: "admin",
username: "administrator",
// password: "",
code: "",
uuid: "",

View File

@@ -237,7 +237,7 @@ const manageSelect = (index) => {
}
} else if (index == '隧道管理') {
if (currentSiteId.value && currentUserId.value) {
router.push("/tunnel/" + currentSiteId.value + '/i/' + currentUserId.value);
router.push("/tunnel/" + currentSiteId.value + '/i'+'/' + currentUserId.value);
}
} else if (index == '用户管理') {
if (currentSiteId.value) {
@@ -340,6 +340,13 @@ initWebSocket();
// getTunnelPreview();
</script>
<style lang="scss">
//.el-drawer__body{
// width: 100%;
// display: flex!important;
// flex-direction: column!important;
// flex: 1;
// height: 100%;
//}
.el-dropdown__popper.el-popper {
background: transparent;
//border: none;