Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 4764822

Browse files
committed
update test
1 parent 1d86536 commit 4764822

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

test/src/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { test } from "/lib/test";
2-
2+
import {request} from "miniprogram-network"
33
test
44
const data = {
55

@@ -10,6 +10,7 @@ const data = {
1010
App({
1111

1212
onLaunch() {
13+
request("POST","/");
1314
console.log(test, "{{Vx}}");
1415
}
1516
})

test/src/wxs/comm.wxts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import {request} from 'miniprogram-network';
21

32
import {x} from "./x.wxs";
4-
x()
5-
request()
3+
64
const foo = "'hello world' from comm.wxs" + Date.now();
75
const bar = function (d: string) {
86
return decodeURI(d);

0 commit comments

Comments
 (0)