保存进度!
This commit is contained in:
parent
a3d1a99897
commit
07ff369aba
|
@ -2,8 +2,8 @@
|
|||
* @Author: Kane
|
||||
* @Date: 2022-09-07 16:50:27
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-09-07 17:35:16
|
||||
* @FilePath: \app-model\src\main\java\AppMain.java
|
||||
* @LastEditTime: 2022-09-08 18:09:45
|
||||
* @FilePath: \product_form\src\main\java\AppMain.java
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
|
@ -12,6 +12,7 @@
|
|||
/*****************************************************
|
||||
*
|
||||
*****************************************************/
|
||||
@SuppressWarnings( "all")
|
||||
public class AppMain
|
||||
{
|
||||
public static void main( String[] args )
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: Kane
|
||||
* @Date: 2022-09-07 16:48:10
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-09-07 19:21:54
|
||||
* @LastEditTime: 2022-09-08 18:10:54
|
||||
* @FilePath: \product_form\src\main\webapp\index.html
|
||||
* @Description:
|
||||
*
|
||||
|
@ -27,4 +27,5 @@
|
|||
</form>
|
||||
</div>
|
||||
</body>
|
||||
<script src="js/ajax_test.js"></script>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2022-09-08 17:27:10
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-09-08 17:35:48
|
||||
* @FilePath: \product_form\src\main\webapp\js\ajax_test.js
|
||||
* @Description: 做一些Promise的测试!
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
const p1 = new Promise((resolve, reject) => {
|
||||
setTimeout(() => {
|
||||
resolve("测试resolve!");
|
||||
//reject("测试reject!");
|
||||
}, 2000);
|
||||
})
|
||||
|
||||
const p2 = p1.then(
|
||||
(reason) => {
|
||||
console.log(reason)
|
||||
},
|
||||
(reason) => {
|
||||
console.log(reason);
|
||||
}
|
||||
);
|
Loading…
Reference in New Issue