diff --git a/src/tis_app_template_kt/public/esplug.json b/src/tis_app_template_kt/public/esplug.json index 96f63f0..46433ff 100644 --- a/src/tis_app_template_kt/public/esplug.json +++ b/src/tis_app_template_kt/public/esplug.json @@ -39,6 +39,13 @@ "type": "PopupWidget", "segprefix": "KT_SJDB" }, + { + "title": "KTWGWLGH", + "name": "KTWGWLGH", + "component": "KTWGWLGH", + "type": "PopupWidget", + "segprefix": "KTWGWLGH" + }, { "title": "弹框测试", "name": "弹框测试", diff --git a/src/tis_app_template_kt/sdk/tisplatform.json b/src/tis_app_template_kt/sdk/tisplatform.json index 5e3e9c9..8c51194 100644 --- a/src/tis_app_template_kt/sdk/tisplatform.json +++ b/src/tis_app_template_kt/sdk/tisplatform.json @@ -1,4 +1,15 @@ { + "KTWGWLGH": { + "cssFiles": [ + "/KTWGWLGH/css/app.css" + ], + "jsFiles": [ + "/KTWGWLGH/twaverLoader.js", + "/KTWGWLGH/jquery.js", + "/KTWGWLGH/js/app.js" + ], + "preload": false + }, "KT_SJDB": { "cssFiles": [], "jsFiles": [ diff --git a/src/tis_app_template_kt/src/components/Dialog/DialogPc.vue b/src/tis_app_template_kt/src/components/Dialog/DialogPc.vue index 88d94a0..21a2c2c 100644 --- a/src/tis_app_template_kt/src/components/Dialog/DialogPc.vue +++ b/src/tis_app_template_kt/src/components/Dialog/DialogPc.vue @@ -19,7 +19,7 @@ export default { // const list = this.$tis.getActivesByType('PopupWidget') const list = this.$store.getters['tisbus/getActivesByType']('PopupWidget') for (let component of list) { - if (!component.lazy) continue; + //if (!component.lazy) continue; if (typeof component.component === 'string') { await this.$store.dispatch('tisbus/loadComponent', component.component) } diff --git a/src/tis_app_template_kt/src/tis/index.js b/src/tis_app_template_kt/src/tis/index.js index a2eb4cd..69a2eb7 100644 --- a/src/tis_app_template_kt/src/tis/index.js +++ b/src/tis_app_template_kt/src/tis/index.js @@ -121,9 +121,10 @@ export async function mount(props = {}) { } // console.log("---", window.esapp) setTimeout(() => { - store.dispatch('tisbus/openComponentByMenu', ['kt_zzgl_datapackaging']) + //store.dispatch('tisbus/openComponentByMenu', ['kt_zzgl_datapackaging']) store.dispatch('tisbus/openComponentByMenu', ['GlobalStateExample']) - }, 100) + //store.dispatch('tisbus/openComponentByMenu', ['KTWGWLGH']) + }, 1000) } /**