代码优化title 与打包tsconfig => "target": "ES2019" "module": "es2020" "moduleResolution": "node",
							parent
							
								
									6f382d7e55
								
							
						
					
					
						commit
						6b47e523da
					
				|  | @ -110,12 +110,10 @@ export class Demo extends ContainerBase { | |||
|         atrr.push(new InputAttrEditor(that, { | ||||
|             attr: "title", | ||||
|             labelCaption: "Demo标题", | ||||
|             title: "Demo标题", | ||||
|         })); | ||||
|         // 设置按钮的点击脚本属性编辑器
 | ||||
|         atrr.push(new EventAttrEditor(that, { | ||||
|             attr: "clickScript", | ||||
|             title: "", | ||||
|             btnText: "点击事件", | ||||
|             demo: `function Button1_onClickScript(cxt: ScriptContext, btn: Button) {
 | ||||
|     Common.msg('hello') | ||||
|  |  | |||
|  | @ -1,13 +1,14 @@ | |||
| { | ||||
|   "compilerOptions": { | ||||
|     "target": "ES2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||||
|     "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||||
|     "target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||||
|     "module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||||
|     "lib": [ | ||||
|       "es5", | ||||
|       "es6", | ||||
|       "ES2016", | ||||
|       "dom" | ||||
|     ], | ||||
|     "moduleResolution": "node", | ||||
|     "allowJs": true, /* Allow javascript files to be compiled. */ | ||||
|     "declaration": true, /* Generates corresponding '.d.ts' file. */ | ||||
|     "sourceMap": true, /* Generates corresponding '.map' file. */ | ||||
|  | @ -35,6 +36,6 @@ | |||
|     "node_modules/*" | ||||
|   ], | ||||
|   "include": [ | ||||
|     "./src/*" | ||||
|     "./src/**/*" | ||||
|   ] | ||||
| } | ||||
		Loading…
	
		Reference in New Issue