three-trees-ui 1.0.81 → 1.0.82
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/lib/three-trees-ui.common.js +70 -46
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +70 -46
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/OnlineForm/src/Form.vue +1 -1
- package/src/mixins/permission.js +1 -1
- package/src/utils.js +4 -1
package/package.json
CHANGED
package/src/mixins/permission.js
CHANGED
|
@@ -60,7 +60,7 @@ export default {
|
|
|
60
60
|
let parent = this.$parent || this.$root
|
|
61
61
|
let name = parent.$options.componentName
|
|
62
62
|
|
|
63
|
-
while (parent && (!name || name
|
|
63
|
+
while (parent && (!name || !name.includes('runtimeTemplate_'))) {
|
|
64
64
|
parent = parent.$parent
|
|
65
65
|
|
|
66
66
|
if (parent) {
|
package/src/utils.js
CHANGED
|
@@ -449,7 +449,10 @@ var utils = {
|
|
|
449
449
|
if (!instance) {
|
|
450
450
|
throw 'VueComponent实例为空.'
|
|
451
451
|
}
|
|
452
|
-
if (
|
|
452
|
+
if (
|
|
453
|
+
instance.$options.componentName &&
|
|
454
|
+
instance.$options.componentName.includes('runtimeTemplate_')
|
|
455
|
+
) {
|
|
453
456
|
return instance
|
|
454
457
|
} else if (instance.$parent) {
|
|
455
458
|
return utils.getRuntimeTemplateOnlineForm(instance.$parent)
|