保存进度!
This commit is contained in:
parent
dbc5066aed
commit
c4b1c754a9
|
@ -44,7 +44,7 @@ function saveStaffInfo( stuff: StaffInfo ): void
|
||||||
const json = JSON.stringify( stuff );
|
const json = JSON.stringify( stuff );
|
||||||
|
|
||||||
window.localStorage.setItem( STUFF_ITEM, json );
|
window.localStorage.setItem( STUFF_ITEM, json );
|
||||||
};
|
}
|
||||||
|
|
||||||
function cleanStaffInfo(): void
|
function cleanStaffInfo(): void
|
||||||
{
|
{
|
||||||
|
@ -102,7 +102,8 @@ function clearCallerInfo(): void
|
||||||
window.localStorage.removeItem( CALLER_ITEM );
|
window.localStorage.removeItem( CALLER_ITEM );
|
||||||
}
|
}
|
||||||
|
|
||||||
export {
|
export
|
||||||
|
{
|
||||||
loadStaffInfo,
|
loadStaffInfo,
|
||||||
saveStaffInfo,
|
saveStaffInfo,
|
||||||
cleanStaffInfo,
|
cleanStaffInfo,
|
||||||
|
|
|
@ -106,6 +106,12 @@
|
||||||
<version>2.20.0</version>
|
<version>2.20.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mybatis</groupId>
|
||||||
|
<artifactId>mybatis</artifactId>
|
||||||
|
<version>3.5.13</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<finalName>desktop_archievement_backend</finalName>
|
<finalName>desktop_archievement_backend</finalName>
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "https://mybatis.org/dtd/mybatis-3-config.dtd">
|
||||||
|
<configuration>
|
||||||
|
<environments default="development">
|
||||||
|
<environment id="development">
|
||||||
|
<transactionManager type="JDBC" />
|
||||||
|
<dataSource type="POOLED">
|
||||||
|
<property name="driver" value="oracle.jdbc.driver.OracleDriver" />
|
||||||
|
<property name="url" value="jdbc:oracle:thin:@10.39.0.86:1521:xmcx1" />
|
||||||
|
<property name="username" value="desktop_archievement_admin" />
|
||||||
|
<property name="password" value="Cpic123456" />
|
||||||
|
</dataSource>
|
||||||
|
</environment>
|
||||||
|
</environments>
|
||||||
|
<mappers>
|
||||||
|
<mapper resource="org/mybatis/example/BlogMapper.xml" />
|
||||||
|
</mappers>
|
||||||
|
</configuration>
|
Loading…
Reference in New Issue