@tuya-sat/sdf-main-sdk 6.0.12-alpha.2 → 6.0.12-alpha.21
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/{364.12b7cb6b.chunk.js → 364.2b1c4b26.chunk.js} +1 -1
- package/dist/{364.12b7cb6b.chunk.js.map → 364.2b1c4b26.chunk.js.map} +1 -1
- package/dist/api/urls.d.ts +1 -0
- package/dist/components/Layout/antd/components/HomeSelect/useHomeInfo.d.ts +8 -7
- package/dist/components/NoProjectPage/index.d.ts +4 -0
- package/dist/components/NoProjectPage/svg.d.ts +1 -0
- package/dist/en.json +1 -0
- package/dist/main.bundle.js +1 -1
- package/dist/main.bundle.js.map +1 -1
- package/dist/main.css +52 -4
- package/dist/main.css.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/pages/noProject.d.ts +5 -0
- package/dist/qiankun/xhook/index.d.ts +1 -1
- package/dist/zh.json +1 -0
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main.css": "auto/main.css",
|
|
3
3
|
"main.js": "auto/main.bundle.js",
|
|
4
|
-
"364.
|
|
4
|
+
"364.2b1c4b26.chunk.js": "auto/364.2b1c4b26.chunk.js",
|
|
5
5
|
"static/img/login3.png": "auto/static/img/dd06d35d98047203e715.png",
|
|
6
6
|
"static/img/reLogin.png": "auto/static/img/294142da390c5af23324.png",
|
|
7
7
|
"static/img/login2.png": "auto/static/img/47a523d0027c7b5af83f.png",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"static/img/tuya.png": "auto/static/img/328d8b5c342b13933c5c.png",
|
|
24
24
|
"main.css.map": "auto/main.css.map",
|
|
25
25
|
"main.bundle.js.map": "auto/main.bundle.js.map",
|
|
26
|
-
"364.
|
|
26
|
+
"364.2b1c4b26.chunk.js.map": "auto/364.2b1c4b26.chunk.js.map"
|
|
27
27
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 已登录:补 uid
|
|
7
7
|
* - 存在 window.csrf 且未带 csrf-token:补 csrf-token
|
|
8
8
|
* - isOpenCode:补 skip-sdf-check-token
|
|
9
|
-
* - 智能家居且请求 URL 为 home-space 路径并带 query home_id
|
|
9
|
+
* - 智能家居且请求 URL 为 home-space 路径并带 query home_id:若子应用未显式带 projectId 隔离头,则强制 project-id=home_id、isolation-type=homeId;已带 projectId+project-id 则不覆写
|
|
10
10
|
* - 智能家居、当前为 projectId 维、且地址栏或 Referer 中 project_id 与 SMART_HOME_ID 不一致:以 URL 纠正本请求 Project-Id 并回写 localStorage(修复子应用内换项目未调 switch 导致的陈旧 id)
|
|
11
11
|
* - 非主应用请求、未带 project-id、且当前微应用要求项目/家庭:补 project-id(智能家居用 getHomeId,B 端用 getProjectId);智能家居同时补 isolation-type(projectId | homeId)
|
|
12
12
|
* - 最后调用 gMainConfig.hooks.httpHook.before(req) 供壳子扩展
|
package/dist/zh.json
CHANGED
|
@@ -227,6 +227,7 @@
|
|
|
227
227
|
"page403.desc": "您没有该页面的访问权限,请联系网站管理员",
|
|
228
228
|
"page404": "您访问的页面已被删除或不存在",
|
|
229
229
|
"page500": "系统错误,请稍后重试",
|
|
230
|
+
"noProjectPage.desc": "该应用还不支持项目数据,请切换到家庭",
|
|
230
231
|
"emptyPage": "暂无权限,请联系管理员添加权限",
|
|
231
232
|
"expirationPage": "该SaaS体验服务已到期,请联系开发人员进行付费",
|
|
232
233
|
"trial": "体验版",
|