邓洁: 修改bug
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -47,7 +47,7 @@ const authStore = useAuthStore();
|
||||
const loginForm = reactive({
|
||||
// username: "admin",
|
||||
password: "123456",
|
||||
username: "admin",
|
||||
username: "administrator",
|
||||
// password: "",
|
||||
code: "",
|
||||
uuid: "",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user