Compare commits

...

4 Commits

  1. 4
      .env.production
  2. 3
      src/pages/fileDoc/index.vue
  3. 8
      src/pages/system/login/index.vue

4
.env.production

@ -1,2 +1,2 @@
VITE_BASE_URL = 'http://192.168.1.3:48080' VITE_BASE_URL = 'http://192.168.1.3:48081'
VITE_SOCKET_SERVER = 'http://192.168.1.3:48080' VITE_SOCKET_SERVER = 'http://192.168.1.3:48081'

3
src/pages/fileDoc/index.vue

@ -298,8 +298,9 @@ async function onSaveRename(item: any) {
const find = findItem(item.id) const find = findItem(item.id)
if (!find.isEdit) return if (!find.isEdit) return
await nextTick() await nextTick()
debugger
find.isEdit = false find.isEdit = false
if (!editFileName.value.endsWith('.md')) { if (find.type === floeType.file && !editFileName.value.endsWith('.md')) {
editFileName.value += '.md' editFileName.value += '.md'
} }
if (find.name !== editFileName.value) { if (find.name !== editFileName.value) {

8
src/pages/system/login/index.vue

@ -1,10 +1,10 @@
<template> <template>
<div class="main"> <div class="main">
<div class="header"> <div class="header">
<img :src="Logo" class="icon" /> <img :src="logoDarkIcon" class="icon" />
<div class="sys-title"> <div class="sys-title">
<span class="title-cn">比特电科-设备管理系统</span> <span class="title-cn">比特电科-文档管理系统</span>
<span class="title-en">BTDK-Equipment Management System</span> <span class="title-en">BTDK-Document Management System</span>
</div> </div>
</div> </div>
<div class="body"> <div class="body">
@ -50,6 +50,8 @@ import message from 'element-plus/es/components/message/index.mjs'
import { useWindowKeyEnter } from '@/tools/common/hooks' import { useWindowKeyEnter } from '@/tools/common/hooks'
import { useRouter } from 'vue-router' import { useRouter } from 'vue-router'
import logoDarkIcon from '@/assets/image/dashboard/common/icon_logo_pg_dark.svg'
import logoIcon from '@/assets/image/dashboard/common/icon_logo_pg.svg'
const isLoading = ref(false) const isLoading = ref(false)
const router = useRouter() const router = useRouter()

Loading…
Cancel
Save