@farris/jit-engine 1.3.340 → 1.3.341

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.
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ 1.3.341
2
+
3
+ 智能输入框只读流程规则问题修复
4
+
1
5
  1.3.340
2
6
 
3
7
  移动端支持新版路由策略
package/bin/index.js CHANGED
File without changes
@@ -42,7 +42,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
42
42
  div('class'='farris-input-wrap')
43
43
  input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined
44
44
  "input-end-edit" "inputGroupRef" '[disabled]'!=variable.disable?variable.disable+"":undefined
45
- '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
45
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
46
46
  '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined
47
47
  '[enableClear]'=(variable.enableClear || variable.enableClear==false)?variable.enableClear+"":undefined
48
48
  '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined
@@ -292,6 +292,9 @@ class DeclarationTrigger {
292
292
  return validateResult;
293
293
  }
294
294
  dealWithSpecialButton(selectedComponent, declarationPathArray, toolbar) {
295
+ if (!selectedComponent) {
296
+ return;
297
+ }
295
298
  if (toolbar && toolbar.items && toolbar.items[selectedComponent.viewModel] && toolbar.items[selectedComponent.viewModel].length > 0) {
296
299
  toolbar.items[selectedComponent.viewModel].forEach((item) => {
297
300
  if (item.id == declarationPathArray.slice(-1)[0]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/jit-engine",
3
- "version": "1.3.340",
3
+ "version": "1.3.341",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {