@ywfe/fe-tools 1.2.1-beta.20 → 1.2.1-beta.21
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/userInputToJson.d.ts +1 -1
- package/lib/ywfe-tools.cjs +8 -14
- package/lib/ywfe-tools.cjs.map +1 -1
- package/lib/ywfe-tools.esm.js +8 -14
- package/lib/ywfe-tools.esm.js.map +1 -1
- package/package.json +1 -1
- package/userInputToJson.ts +7 -8
package/package.json
CHANGED
package/userInputToJson.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import {request} from './index'
|
2
1
|
// Ctrl-S保存代码
|
3
2
|
interface userInput {
|
4
3
|
userInput?:string,
|
@@ -6,12 +5,12 @@ interface userInput {
|
|
6
5
|
}
|
7
6
|
async function userInputToJson({input}:{input:userInput}){
|
8
7
|
const {userInput, rules} = input
|
9
|
-
const res = await request({
|
10
|
-
input:{
|
11
|
-
url:"https://fc-typechat.ywwl.com/userInputToJson",
|
12
|
-
method:"GET"
|
13
|
-
}
|
14
|
-
})
|
15
|
-
return
|
8
|
+
//const res = await fetools.request({
|
9
|
+
//input:{
|
10
|
+
//url:"https://fc-typechat.ywwl.com/userInputToJson",
|
11
|
+
//method:"GET"
|
12
|
+
//}
|
13
|
+
//})
|
14
|
+
return "2"
|
16
15
|
}
|
17
16
|
export default userInputToJson
|