three-trees-ui 1.0.81 → 1.0.83
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 +96 -72
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +96 -72
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/OnlineForm/src/Form.vue +1 -1
- package/packages/Subtable/src/SubImportDialog.vue +3 -3
- package/src/mixins/permission.js +1 -1
- package/src/utils.js +4 -1
package/package.json
CHANGED
|
@@ -231,9 +231,9 @@
|
|
|
231
231
|
SubPagination._map.set(instKey, pInst)
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
|
-
destroyed() {
|
|
235
|
-
|
|
236
|
-
},
|
|
234
|
+
// destroyed() {
|
|
235
|
+
// SubPagination.clear(this.dataSubname, this)
|
|
236
|
+
// },
|
|
237
237
|
methods: {
|
|
238
238
|
transformFieldData(data) {
|
|
239
239
|
return new Promise(async (resolve) => {
|
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)
|