changes
This commit is contained in:
parent
06b25d2596
commit
bb364d24c1
|
@ -1,3 +0,0 @@
|
|||
import { pd,doing,tj } from "./Select_one.js";
|
||||
console.log(doing('张三','44'));
|
||||
console.log(tj(20,10));
|
|
@ -9,7 +9,7 @@
|
|||
<body>
|
||||
|
||||
</body>
|
||||
<script src="./Select_one.js" type="module"></script>
|
||||
<script src="./Use_one.js " type="module"></script>
|
||||
<script src="./Select_two.js" type="module"></script>
|
||||
<script src="../Select_one.js" type="module"></script>
|
||||
<script src="../Use_one.js " type="module"></script>
|
||||
<script src="../Select_two.js" type="module"></script>
|
||||
</html>
|
|
@ -0,0 +1,7 @@
|
|||
import { pd,doing,tj } from "./Select_one.js";
|
||||
console.log(doing('张三','44'));
|
||||
console.log(tj(20,10));
|
||||
import { content } from "./Use_one.js";
|
||||
console.log(content);
|
||||
import { fun } from "./Use_one.js";
|
||||
console.log(fun());
|
|
@ -7,4 +7,11 @@ function doings(pd){
|
|||
}
|
||||
}
|
||||
console.log(doing("小小", "22"));
|
||||
console.log(pd);
|
||||
console.log(pd);
|
||||
export let content="你好啊,webpack"
|
||||
export function fun() {
|
||||
let name="张三"
|
||||
let height="1.78"
|
||||
let content=`${name}的身高${height}cm`
|
||||
return content
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
<script src="./Select_one.js" type="module"></script>
|
||||
<script src="./Use_one.js " type="module"></script>
|
||||
<script src="./Select_two.js" type="module"></script>
|
||||
</html>
|
Loading…
Reference in New Issue