deeke-script-app 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,7 @@ interface System {
96
96
  * @param dataForm
97
97
  * @param content
98
98
  */
99
- public getDataForm(key: string, dataForm: string, content: string): string | null;
99
+ public getDataFrom(key: string, dataForm: string, content: string): string | null;
100
100
  }
101
101
 
102
102
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deeke-script-app",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "DeekeScript应用",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
package/script/index.js CHANGED
@@ -0,0 +1 @@
1
+ //这个文件不用编写代码
package/script/task/dy.js CHANGED
@@ -1,7 +1,14 @@
1
- let e = require("./dyApp"), o = UiSelector().id("name").findOne(), r = {
2
- toker_view_video_keywords: Storage.get("toker_view_video_keywords"),
3
- toker_view_video_second: Storage.getInteger("toker_view_video_second"),
4
- toker_run_sex: Storage.getArray("toker_run_sex")
5
- };
1
+ let dyApp = require("./dyApp");
6
2
 
7
- console.log(r, e.getName()), FloatDialogs.show("提示", "请编写业务代码");
3
+ let tag = UiSelector().id('name').findOne();
4
+
5
+ // console.log(tag.click());
6
+ let config = {
7
+ toker_view_video_keywords: Storage.get('toker_view_video_keywords'),
8
+ toker_view_video_second: Storage.getInteger('toker_view_video_second'),
9
+ toker_run_sex: Storage.getArray('toker_run_sex'),
10
+ }
11
+
12
+ console.log(config, dyApp.getName());//获取json文件中的配置参数
13
+
14
+ FloatDialogs.show('提示', '请编写业务代码');
@@ -1,7 +1,7 @@
1
- let e = {
2
- getName() {
1
+ const dyApp = {
2
+ getName(){
3
3
  return "appName";
4
4
  }
5
- };
5
+ }
6
6
 
7
- module.exports = e;
7
+ module.exports = dyApp;
@@ -1 +1 @@
1
- FloatDialogs.show("提示", "请编写业务代码");
1
+ FloatDialogs.show('提示', '请编写业务代码');
@@ -1,10 +1,19 @@
1
- let a = {
2
- intoApp() {},
3
- backApp() {},
4
- task() {},
1
+ let myTask = {
2
+ intoApp() {
3
+ //打开并进入App
4
+ },
5
+
6
+ backApp() {
7
+ //退出当前App
8
+ },
9
+
10
+ task(){
11
+ //任务代码
12
+ },
13
+
5
14
  run() {
6
- FloatDialogs.show("提示", "请编写业务代码");
15
+ FloatDialogs.show('提示', '请编写业务代码');
7
16
  }
8
- };
17
+ }
9
18
 
10
- a.run();
19
+ myTask.run();