@ibiz-template/runtime 0.7.41-alpha.148 → 0.7.41-alpha.149
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/dist/index.esm.js +278 -3
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.d.ts.map +1 -1
- package/out/config/global-config.js +3 -0
- package/out/controller/common/control/md-control.controller.d.ts.map +1 -1
- package/out/controller/common/control/md-control.controller.js +3 -1
- package/out/controller/common/view/view.controller.d.ts +5 -0
- package/out/controller/common/view/view.controller.d.ts.map +1 -1
- package/out/controller/common/view/view.controller.js +11 -1
- package/out/controller/control/app-menu/app-menu.controller.d.ts +7 -0
- package/out/controller/control/app-menu/app-menu.controller.d.ts.map +1 -1
- package/out/controller/control/app-menu/app-menu.controller.js +24 -1
- package/out/controller/control/calendar/calendar.controller.d.ts +7 -0
- package/out/controller/control/calendar/calendar.controller.d.ts.map +1 -1
- package/out/controller/control/calendar/calendar.controller.js +27 -0
- package/out/controller/control/grid/grid/grid-column.controller.d.ts +1 -1
- package/out/controller/control/grid/grid/grid-column.controller.js +1 -1
- package/out/controller/control/tree/tree.controller.d.ts +8 -0
- package/out/controller/control/tree/tree.controller.d.ts.map +1 -1
- package/out/controller/control/tree/tree.controller.js +26 -1
- package/out/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.d.ts +19 -0
- package/out/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.d.ts.map +1 -1
- package/out/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.js +58 -1
- package/out/engine/de-main-view.engine.d.ts.map +1 -1
- package/out/engine/de-main-view.engine.js +10 -0
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +25 -0
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
- package/out/interface/api/controller/view/i-api-view.controller.d.ts +5 -0
- package/out/interface/api/controller/view/i-api-view.controller.d.ts.map +1 -1
- package/out/interface/service/service/i-app-de.service.d.ts +9 -0
- package/out/interface/service/service/i-app-de.service.d.ts.map +1 -1
- package/out/service/service/entity/de.service.d.ts +9 -0
- package/out/service/service/entity/de.service.d.ts.map +1 -1
- package/out/service/service/entity/de.service.js +15 -0
- package/out/service/service/util/ai-util.service.d.ts +28 -0
- package/out/service/service/util/ai-util.service.d.ts.map +1 -1
- package/out/service/service/util/ai-util.service.js +77 -0
- package/package.json +2 -2
- package/src/config/global-config.ts +3 -0
- package/src/controller/common/control/md-control.controller.ts +3 -1
- package/src/controller/common/view/view.controller.ts +14 -1
- package/src/controller/control/app-menu/app-menu.controller.ts +29 -1
- package/src/controller/control/calendar/calendar.controller.ts +32 -0
- package/src/controller/control/grid/grid/grid-column.controller.ts +1 -1
- package/src/controller/control/tree/tree.controller.ts +31 -1
- package/src/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.ts +70 -1
- package/src/engine/de-main-view.engine.ts +10 -0
- package/src/interface/api/common/global-config/i-api-global-common-config.ts +28 -0
- package/src/interface/api/controller/view/i-api-view.controller.ts +6 -0
- package/src/interface/service/service/i-app-de.service.ts +14 -0
- package/src/service/service/entity/de.service.ts +20 -0
- package/src/service/service/util/ai-util.service.ts +102 -0
package/dist/index.esm.js
CHANGED
|
@@ -20018,7 +20018,10 @@ var GlobalConfig = class {
|
|
|
20018
20018
|
aiInputPlaceholder: "",
|
|
20019
20019
|
aiMinimizeContainerId: void 0,
|
|
20020
20020
|
showScrollTo: "none",
|
|
20021
|
-
aiChatMessagePageSize: 100
|
|
20021
|
+
aiChatMessagePageSize: 100,
|
|
20022
|
+
aiWorkMode: "DEFAULT",
|
|
20023
|
+
aiScopeCodeListID: "",
|
|
20024
|
+
enableAIProjectSelect: true
|
|
20022
20025
|
};
|
|
20023
20026
|
// 全局分页流布局配置
|
|
20024
20027
|
this.drtab = {
|
|
@@ -29217,6 +29220,15 @@ var ViewController = class extends BaseController {
|
|
|
29217
29220
|
(_a3 = this.scheduler) == null ? void 0 : _a3.startTimerTrigger();
|
|
29218
29221
|
await this.initShortCut();
|
|
29219
29222
|
}
|
|
29223
|
+
/**
|
|
29224
|
+
* @description 设置浏览器标签页标题(路由打开和路由模态打开才能设置浏览器标签页标题)
|
|
29225
|
+
* @memberof ViewController
|
|
29226
|
+
*/
|
|
29227
|
+
setBrowserTabTitle() {
|
|
29228
|
+
if (this.modal.mode === "ROUTE" /* ROUTE */ || this.modal.mode === "ROUTE_MODAL" /* ROUTE_MODAL */) {
|
|
29229
|
+
ibiz.util.setBrowserTitle(this.state.caption);
|
|
29230
|
+
}
|
|
29231
|
+
}
|
|
29220
29232
|
/**
|
|
29221
29233
|
* 初始化最小化状态
|
|
29222
29234
|
*
|
|
@@ -31122,7 +31134,9 @@ var MDControlController = class extends ControlController {
|
|
|
31122
31134
|
async afterLoad(args, items) {
|
|
31123
31135
|
this.handleRefreshMode(args);
|
|
31124
31136
|
this.calcSelectDataBySelectKey();
|
|
31125
|
-
this.calcToolberButtonState()
|
|
31137
|
+
this.doNextActive(() => this.calcToolberButtonState(), {
|
|
31138
|
+
key: "calcToolberButtonState"
|
|
31139
|
+
});
|
|
31126
31140
|
return items;
|
|
31127
31141
|
}
|
|
31128
31142
|
/**
|
|
@@ -32235,6 +32249,34 @@ var AppMenuController = class extends ControlController {
|
|
|
32235
32249
|
if (this.counter)
|
|
32236
32250
|
this.counter.destroy();
|
|
32237
32251
|
}
|
|
32252
|
+
/**
|
|
32253
|
+
* @description 获取脚本代码html
|
|
32254
|
+
* @param {IAppMenuItem} model
|
|
32255
|
+
* @returns {*} {(string | undefined)}
|
|
32256
|
+
* @memberof AppMenuController
|
|
32257
|
+
*/
|
|
32258
|
+
getCustomHtml(model) {
|
|
32259
|
+
var _a3;
|
|
32260
|
+
const { controlRenders = [] } = model;
|
|
32261
|
+
let scriptCode = (_a3 = controlRenders.find(
|
|
32262
|
+
(render) => render.renderType === "LAYOUTPANEL_MODEL"
|
|
32263
|
+
)) == null ? void 0 : _a3.layoutPanelModel;
|
|
32264
|
+
if (scriptCode) {
|
|
32265
|
+
if (!scriptCode.includes("return"))
|
|
32266
|
+
scriptCode = "return (".concat(scriptCode, ")");
|
|
32267
|
+
return ScriptFactory.execScriptFn(
|
|
32268
|
+
{
|
|
32269
|
+
context: this.context,
|
|
32270
|
+
params: this.params,
|
|
32271
|
+
ctrl: this,
|
|
32272
|
+
view: this.view,
|
|
32273
|
+
metadata: { model }
|
|
32274
|
+
},
|
|
32275
|
+
scriptCode,
|
|
32276
|
+
{ isAsync: false }
|
|
32277
|
+
);
|
|
32278
|
+
}
|
|
32279
|
+
}
|
|
32238
32280
|
};
|
|
32239
32281
|
|
|
32240
32282
|
// src/controller/control/app-menu-icon-view/app-menu-icon-view.controller.ts
|
|
@@ -37262,6 +37304,37 @@ var CalendarController = class extends MDControlController {
|
|
|
37262
37304
|
item.name = ibiz.i18n.t(item.nameLanguageRes.lanResTag, item.name);
|
|
37263
37305
|
});
|
|
37264
37306
|
}
|
|
37307
|
+
/**
|
|
37308
|
+
* @description 获取脚本代码html
|
|
37309
|
+
* @param {ICalendarItemData} data
|
|
37310
|
+
* @returns {*} {(string | undefined)}
|
|
37311
|
+
* @memberof CalendarController
|
|
37312
|
+
*/
|
|
37313
|
+
getCustomHtml(item) {
|
|
37314
|
+
var _a3, _b2, _c;
|
|
37315
|
+
const model = (_a3 = this.model.sysCalendarItems) == null ? void 0 : _a3.find((calendarItems) => {
|
|
37316
|
+
return item.itemType === calendarItems.itemType;
|
|
37317
|
+
});
|
|
37318
|
+
let scriptCode = (_c = (_b2 = model == null ? void 0 : model.controlRenders) == null ? void 0 : _b2.find(
|
|
37319
|
+
(render) => render.renderType === "LAYOUTPANEL_MODEL"
|
|
37320
|
+
)) == null ? void 0 : _c.layoutPanelModel;
|
|
37321
|
+
if (scriptCode) {
|
|
37322
|
+
if (!scriptCode.includes("return"))
|
|
37323
|
+
scriptCode = "return (".concat(scriptCode, ")");
|
|
37324
|
+
return ScriptFactory.execScriptFn(
|
|
37325
|
+
{
|
|
37326
|
+
data: item.deData,
|
|
37327
|
+
context: this.context,
|
|
37328
|
+
params: this.params,
|
|
37329
|
+
ctrl: this,
|
|
37330
|
+
view: this.view,
|
|
37331
|
+
metadata: { model }
|
|
37332
|
+
},
|
|
37333
|
+
scriptCode,
|
|
37334
|
+
{ isAsync: false }
|
|
37335
|
+
);
|
|
37336
|
+
}
|
|
37337
|
+
}
|
|
37265
37338
|
};
|
|
37266
37339
|
|
|
37267
37340
|
// src/controller/control/chart/chart.controller.ts
|
|
@@ -51662,7 +51735,7 @@ var GridColumnController = class {
|
|
|
51662
51735
|
async handleColumnScreen(_value) {
|
|
51663
51736
|
}
|
|
51664
51737
|
/**
|
|
51665
|
-
*
|
|
51738
|
+
* 获取脚本代码html
|
|
51666
51739
|
* @param {GridRowState} row
|
|
51667
51740
|
* @return {*}
|
|
51668
51741
|
* @author: zhujiamin
|
|
@@ -60624,6 +60697,36 @@ var TreeController = class extends MDControlController {
|
|
|
60624
60697
|
}
|
|
60625
60698
|
});
|
|
60626
60699
|
}
|
|
60700
|
+
/**
|
|
60701
|
+
* @description 获取脚本代码html
|
|
60702
|
+
* @param {IDETreeNode} model
|
|
60703
|
+
* @param {IData} data
|
|
60704
|
+
* @returns {*} {(string | undefined)}
|
|
60705
|
+
* @memberof TreeController
|
|
60706
|
+
*/
|
|
60707
|
+
getCustomHtml(model, data) {
|
|
60708
|
+
var _a3;
|
|
60709
|
+
const { controlRenders = [] } = model;
|
|
60710
|
+
let scriptCode = (_a3 = controlRenders.find(
|
|
60711
|
+
(render) => render.renderType === "LAYOUTPANEL_MODEL"
|
|
60712
|
+
)) == null ? void 0 : _a3.layoutPanelModel;
|
|
60713
|
+
if (scriptCode) {
|
|
60714
|
+
if (!scriptCode.includes("return"))
|
|
60715
|
+
scriptCode = "return (".concat(scriptCode, ")");
|
|
60716
|
+
return ScriptFactory.execScriptFn(
|
|
60717
|
+
{
|
|
60718
|
+
data,
|
|
60719
|
+
context: this.context,
|
|
60720
|
+
params: this.params,
|
|
60721
|
+
ctrl: this,
|
|
60722
|
+
view: this.view,
|
|
60723
|
+
metadata: { model }
|
|
60724
|
+
},
|
|
60725
|
+
scriptCode,
|
|
60726
|
+
{ isAsync: false }
|
|
60727
|
+
);
|
|
60728
|
+
}
|
|
60729
|
+
}
|
|
60627
60730
|
};
|
|
60628
60731
|
|
|
60629
60732
|
// src/controller/control/wizard-panel/wizard-panel.controller.ts
|
|
@@ -63282,6 +63385,12 @@ var TreeGridExNodeColumnController = class {
|
|
|
63282
63385
|
* @Date: 2023-05-24 10:55:50
|
|
63283
63386
|
*/
|
|
63284
63387
|
this.codeList = void 0;
|
|
63388
|
+
/**
|
|
63389
|
+
* @description 是否为脚本代码
|
|
63390
|
+
* @type {boolean}
|
|
63391
|
+
* @memberof TreeGridExNodeColumnController
|
|
63392
|
+
*/
|
|
63393
|
+
this.isCustomCode = false;
|
|
63285
63394
|
const { detreeNodeColumns, detreeNodeDataItems, detreeNodeEditItems } = nodeModel;
|
|
63286
63395
|
const nodeColumn = detreeNodeColumns == null ? void 0 : detreeNodeColumns.find((column) => {
|
|
63287
63396
|
return column.detreeColumnId === this.fieldColumn.model.id;
|
|
@@ -63317,6 +63426,10 @@ var TreeGridExNodeColumnController = class {
|
|
|
63317
63426
|
}
|
|
63318
63427
|
this.nodeEditItem = nodeEditItem;
|
|
63319
63428
|
}
|
|
63429
|
+
const renderCode = this.getRenderCode();
|
|
63430
|
+
if (this.nodeDataItem.customCode || renderCode) {
|
|
63431
|
+
this.isCustomCode = true;
|
|
63432
|
+
}
|
|
63320
63433
|
}
|
|
63321
63434
|
get unitName() {
|
|
63322
63435
|
var _a3;
|
|
@@ -63621,6 +63734,56 @@ var TreeGridExNodeColumnController = class {
|
|
|
63621
63734
|
name2 = name2 || this.name;
|
|
63622
63735
|
await this.treeGrid.setRowValue(row, name2, value, ignore);
|
|
63623
63736
|
}
|
|
63737
|
+
/**
|
|
63738
|
+
* @description 获取脚本代码html
|
|
63739
|
+
* @param {TreeGridExRowState} row
|
|
63740
|
+
* @returns {*} {(Promise<string | undefined>)}
|
|
63741
|
+
* @memberof TreeGridExNodeColumnController
|
|
63742
|
+
*/
|
|
63743
|
+
async getCustomHtml(row) {
|
|
63744
|
+
var _a3;
|
|
63745
|
+
const renderCode = this.getRenderCode();
|
|
63746
|
+
let scriptCode = ((_a3 = this.nodeDataItem) == null ? void 0 : _a3.scriptCode) || renderCode;
|
|
63747
|
+
if (scriptCode) {
|
|
63748
|
+
if (!scriptCode.includes("return")) {
|
|
63749
|
+
scriptCode = "return (".concat(scriptCode, ")");
|
|
63750
|
+
}
|
|
63751
|
+
return await ScriptFactory.asyncExecScriptFn(
|
|
63752
|
+
{
|
|
63753
|
+
data: row.data,
|
|
63754
|
+
context: this.context,
|
|
63755
|
+
params: this.params,
|
|
63756
|
+
controller: this,
|
|
63757
|
+
ctrl: this.treeGrid,
|
|
63758
|
+
view: this.treeGrid.view,
|
|
63759
|
+
metadata: {
|
|
63760
|
+
nodeModel: this.nodeModel,
|
|
63761
|
+
columnModel: this.fieldColumn.model
|
|
63762
|
+
}
|
|
63763
|
+
},
|
|
63764
|
+
scriptCode
|
|
63765
|
+
);
|
|
63766
|
+
}
|
|
63767
|
+
}
|
|
63768
|
+
/**
|
|
63769
|
+
* @description 获取绘制器模型代码
|
|
63770
|
+
* @returns {*} {string}
|
|
63771
|
+
* @memberof TreeGridExNodeColumnController
|
|
63772
|
+
*/
|
|
63773
|
+
getRenderCode() {
|
|
63774
|
+
let result = "";
|
|
63775
|
+
const { controlRenders = [], id } = this.nodeColumn;
|
|
63776
|
+
const item = controlRenders.find(
|
|
63777
|
+
(renderItem) => renderItem.renderType === "LAYOUTPANEL_MODEL" && ![
|
|
63778
|
+
"".concat(id == null ? void 0 : id.toLowerCase(), "_tooltip"),
|
|
63779
|
+
"".concat(id == null ? void 0 : id.toLowerCase(), "_edit_tooltip")
|
|
63780
|
+
].includes(renderItem.id)
|
|
63781
|
+
);
|
|
63782
|
+
if (item) {
|
|
63783
|
+
result = item.layoutPanelModel || "";
|
|
63784
|
+
}
|
|
63785
|
+
return result;
|
|
63786
|
+
}
|
|
63624
63787
|
};
|
|
63625
63788
|
|
|
63626
63789
|
// src/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.controller.ts
|
|
@@ -72951,6 +73114,21 @@ var DEService = class {
|
|
|
72951
73114
|
const path2 = this.calcSsePath(context, true);
|
|
72952
73115
|
return app.net.post(path2, data, { srfactag: "AIChat", ...params });
|
|
72953
73116
|
}
|
|
73117
|
+
/**
|
|
73118
|
+
* @description 获取AI聊天项目文件
|
|
73119
|
+
* @param {IContext} context
|
|
73120
|
+
* @param {IParams} [params={}]
|
|
73121
|
+
* @param {IData} [data={}]
|
|
73122
|
+
* @returns {*} {Promise<IHttpResponse>}
|
|
73123
|
+
* @memberof DEService
|
|
73124
|
+
*/
|
|
73125
|
+
aiChatProject(context, params = {}, data = {}) {
|
|
73126
|
+
const app = ibiz.hub.getApp(this.model.appId);
|
|
73127
|
+
const resPath = calcResPath(context, this.model);
|
|
73128
|
+
const curPath = "/".concat(this.model.deapicodeName2, "/ssechatcompletion/files");
|
|
73129
|
+
const path2 = resPath ? "/".concat(resPath).concat(curPath) : "".concat(curPath);
|
|
73130
|
+
return app.net.post(path2, data, { srfactag: "AIChat", ...params });
|
|
73131
|
+
}
|
|
72954
73132
|
/**
|
|
72955
73133
|
* 取消 AI 聊天会话
|
|
72956
73134
|
* @param context
|
|
@@ -76306,6 +76484,96 @@ var AIUtilService = class {
|
|
|
76306
76484
|
);
|
|
76307
76485
|
return true;
|
|
76308
76486
|
}
|
|
76487
|
+
/**
|
|
76488
|
+
* 批量删除会话
|
|
76489
|
+
* @param context
|
|
76490
|
+
* @param params
|
|
76491
|
+
* @param sessionIDs 会话id
|
|
76492
|
+
* @returns
|
|
76493
|
+
*/
|
|
76494
|
+
async batchDeleteSession(context, params, sessionIDs) {
|
|
76495
|
+
if (!sessionIDs || sessionIDs.length === 0)
|
|
76496
|
+
return false;
|
|
76497
|
+
const { deleteSessionAppDEActionId } = this.utilParams;
|
|
76498
|
+
if (!deleteSessionAppDEActionId)
|
|
76499
|
+
return false;
|
|
76500
|
+
const sessionService = await this.getSessionService(context);
|
|
76501
|
+
if (!sessionService)
|
|
76502
|
+
return false;
|
|
76503
|
+
const tempContext = context.clone();
|
|
76504
|
+
tempContext[this.sessionAppEntityName.toLowerCase()] = sessionIDs.join(";");
|
|
76505
|
+
const batchData = sessionIDs.map((id) => {
|
|
76506
|
+
return { id };
|
|
76507
|
+
});
|
|
76508
|
+
await sessionService.exec(
|
|
76509
|
+
deleteSessionAppDEActionId,
|
|
76510
|
+
tempContext,
|
|
76511
|
+
batchData,
|
|
76512
|
+
{
|
|
76513
|
+
...params
|
|
76514
|
+
}
|
|
76515
|
+
);
|
|
76516
|
+
return true;
|
|
76517
|
+
}
|
|
76518
|
+
/**
|
|
76519
|
+
* 批量置顶会话
|
|
76520
|
+
* @param {IContext} context
|
|
76521
|
+
* @param {IParams} params
|
|
76522
|
+
* @param {string[]} sessionIDs
|
|
76523
|
+
* @returns {*} {Promise<boolean>}
|
|
76524
|
+
* @memberof AIUtilService
|
|
76525
|
+
*/
|
|
76526
|
+
async batchTopSession(context, params, sessionIDs) {
|
|
76527
|
+
if (!sessionIDs || sessionIDs.length === 0)
|
|
76528
|
+
return false;
|
|
76529
|
+
const { topSessionAppDEActionId } = this.utilParams;
|
|
76530
|
+
if (!topSessionAppDEActionId)
|
|
76531
|
+
return false;
|
|
76532
|
+
const sessionService = await this.getSessionService(context);
|
|
76533
|
+
if (!sessionService)
|
|
76534
|
+
return false;
|
|
76535
|
+
const tempContext = context.clone();
|
|
76536
|
+
tempContext[this.sessionAppEntityName.toLowerCase()] = sessionIDs.join(";");
|
|
76537
|
+
const batchData = sessionIDs.map((id) => {
|
|
76538
|
+
return { id };
|
|
76539
|
+
});
|
|
76540
|
+
await sessionService.exec(topSessionAppDEActionId, tempContext, batchData, {
|
|
76541
|
+
...params
|
|
76542
|
+
});
|
|
76543
|
+
return true;
|
|
76544
|
+
}
|
|
76545
|
+
/**
|
|
76546
|
+
* 批量取消置顶会话
|
|
76547
|
+
* @param {IContext} context
|
|
76548
|
+
* @param {IParams} params
|
|
76549
|
+
* @param {string[]} sessionIDs
|
|
76550
|
+
* @returns {*} {Promise<boolean>}
|
|
76551
|
+
* @memberof AIUtilService
|
|
76552
|
+
*/
|
|
76553
|
+
async batchUnTopSession(context, params, sessionIDs) {
|
|
76554
|
+
if (!sessionIDs || sessionIDs.length === 0)
|
|
76555
|
+
return false;
|
|
76556
|
+
const { unTopSessionAppDEActionId } = this.utilParams;
|
|
76557
|
+
if (!unTopSessionAppDEActionId)
|
|
76558
|
+
return false;
|
|
76559
|
+
const sessionService = await this.getSessionService(context);
|
|
76560
|
+
if (!sessionService)
|
|
76561
|
+
return false;
|
|
76562
|
+
const tempContext = context.clone();
|
|
76563
|
+
tempContext[this.sessionAppEntityName.toLowerCase()] = sessionIDs.join(";");
|
|
76564
|
+
const batchData = sessionIDs.map((id) => {
|
|
76565
|
+
return { id };
|
|
76566
|
+
});
|
|
76567
|
+
await sessionService.exec(
|
|
76568
|
+
unTopSessionAppDEActionId,
|
|
76569
|
+
tempContext,
|
|
76570
|
+
batchData,
|
|
76571
|
+
{
|
|
76572
|
+
...params
|
|
76573
|
+
}
|
|
76574
|
+
);
|
|
76575
|
+
return true;
|
|
76576
|
+
}
|
|
76309
76577
|
};
|
|
76310
76578
|
|
|
76311
76579
|
// src/service/mqtt/mqtt.service.ts
|
|
@@ -90388,6 +90656,13 @@ var DEMainViewEngine = class extends ViewEngineBase {
|
|
|
90388
90656
|
if (this.view.model.appDataEntityId) {
|
|
90389
90657
|
this.deName = calcDeCodeNameById(this.view.model.appDataEntityId);
|
|
90390
90658
|
}
|
|
90659
|
+
const hasCaptionBar = this.isExistAndInLayout("captionbar");
|
|
90660
|
+
if (!hasCaptionBar) {
|
|
90661
|
+
this.view.setBrowserTabTitle();
|
|
90662
|
+
this.view.evt.on("onActivated", () => {
|
|
90663
|
+
this.view.setBrowserTabTitle();
|
|
90664
|
+
});
|
|
90665
|
+
}
|
|
90391
90666
|
}
|
|
90392
90667
|
/**
|
|
90393
90668
|
* 视图mounted生命周期执行逻辑
|