xs-common-plugins 1.4.13 → 1.4.14
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/.idea/workspace.xml +64 -29
- package/package.json +2 -2
- package/src/common/common.js +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="18da8823-8844-430e-8765-342a5b83382e" name="更改" comment="
|
|
7
|
+
<list default="true" id="18da8823-8844-430e-8765-342a5b83382e" name="更改" comment="fix(common): 修复请求函数返回值问题 - 添加return语句确保请求结果正确返回 - 解决因缺少返回值导致的异步调用问题">
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
9
|
<change beforePath="$PROJECT_DIR$/src/common/common.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/common/common.js" afterDir="false" />
|
|
10
10
|
</list>
|
|
@@ -13,9 +13,17 @@
|
|
|
13
13
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
14
14
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
15
15
|
</component>
|
|
16
|
+
<component name="EmbeddingIndexingInfo">
|
|
17
|
+
<option name="cachedIndexableFilesCount" value="208" />
|
|
18
|
+
<option name="fileBasedEmbeddingIndicesEnabled" value="true" />
|
|
19
|
+
</component>
|
|
16
20
|
<component name="Git.Settings">
|
|
17
21
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
18
22
|
</component>
|
|
23
|
+
<component name="McpProjectServerCommands">
|
|
24
|
+
<commands />
|
|
25
|
+
<urls />
|
|
26
|
+
</component>
|
|
19
27
|
<component name="ProjectColorInfo">{
|
|
20
28
|
"associatedIndex": 3
|
|
21
29
|
}</component>
|
|
@@ -25,34 +33,36 @@
|
|
|
25
33
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
26
34
|
<option name="showLibraryContents" value="true" />
|
|
27
35
|
</component>
|
|
28
|
-
<component name="PropertiesComponent"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
36
|
+
<component name="PropertiesComponent">{
|
|
37
|
+
"keyToString": {
|
|
38
|
+
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
39
|
+
"RunOnceActivity.MCP Project settings loaded": "true",
|
|
40
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
41
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
42
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
43
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
44
|
+
"codeWithMe.voiceChat.enabledByDefault": "false",
|
|
45
|
+
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultAutoModeForALLUsers.v1": "true",
|
|
46
|
+
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
47
|
+
"git-widget-placeholder": "master",
|
|
48
|
+
"javascript.preferred.runtime.type.id": "node",
|
|
49
|
+
"junie.onboarding.icon.badge.shown": "true",
|
|
50
|
+
"node.js.detected.package.eslint": "true",
|
|
51
|
+
"node.js.detected.package.tslint": "true",
|
|
52
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
53
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
54
|
+
"nodejs_interpreter_path": "node",
|
|
55
|
+
"nodejs_package_manager_path": "npm",
|
|
56
|
+
"settings.editor.selected.configurable": "editor.preferences.fonts.default",
|
|
57
|
+
"to.speed.mode.migration.done": "true",
|
|
58
|
+
"ts.external.directory.path": "/Applications/WebStorm.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/external",
|
|
59
|
+
"vue.rearranger.settings.migration": "true"
|
|
50
60
|
}
|
|
51
|
-
}
|
|
61
|
+
}</component>
|
|
52
62
|
<component name="SharedIndexes">
|
|
53
63
|
<attachedChunks>
|
|
54
64
|
<set>
|
|
55
|
-
<option value="bundled-js-predefined-d6986cc7102b-
|
|
65
|
+
<option value="bundled-js-predefined-d6986cc7102b-3bd3a6803838-JavaScript-WS-261.22158.274" />
|
|
56
66
|
</set>
|
|
57
67
|
</attachedChunks>
|
|
58
68
|
</component>
|
|
@@ -72,7 +82,10 @@
|
|
|
72
82
|
<workItem from="1768291265910" duration="1000" />
|
|
73
83
|
<workItem from="1772155854565" duration="1270000" />
|
|
74
84
|
<workItem from="1772171331103" duration="200000" />
|
|
75
|
-
<workItem from="1772172034321" duration="
|
|
85
|
+
<workItem from="1772172034321" duration="530000" />
|
|
86
|
+
<workItem from="1772172632388" duration="25000" />
|
|
87
|
+
<workItem from="1774575231644" duration="121000" />
|
|
88
|
+
<workItem from="1774576542082" duration="21000" />
|
|
76
89
|
</task>
|
|
77
90
|
<task id="LOCAL-00001" summary="fix(table): 更新单元格分析逻辑以正确处理括号- 替换正则表达式检测为 includes 方法检测括号和 null - 确保只在包含成对括号且不含 null 时才匹配 chore: 升级版本号至 1.4.9">
|
|
78
91
|
<option name="closed" value="true" />
|
|
@@ -106,7 +119,15 @@
|
|
|
106
119
|
<option name="project" value="LOCAL" />
|
|
107
120
|
<updated>1772171500658</updated>
|
|
108
121
|
</task>
|
|
109
|
-
<
|
|
122
|
+
<task id="LOCAL-00005" summary="chore(common): 优化代码格式并更新版本号 - 移除未使用的 router 导入 - 统一导入语句格式,调整 OrgEnum 和 xs-request 导入格式 - 标准化代码缩进和空格格式 - 在 popup 方法中添加 dialogCfg 默认配置项 - 更新 package.json 版本号从 1.4.12 到 1.4.13 - 优化函数内部的代码格式和括号位置">
|
|
123
|
+
<option name="closed" value="true" />
|
|
124
|
+
<created>1772172563001</created>
|
|
125
|
+
<option name="number" value="00005" />
|
|
126
|
+
<option name="presentableId" value="LOCAL-00005" />
|
|
127
|
+
<option name="project" value="LOCAL" />
|
|
128
|
+
<updated>1772172563001</updated>
|
|
129
|
+
</task>
|
|
130
|
+
<option name="localTasksCounter" value="6" />
|
|
110
131
|
<servers />
|
|
111
132
|
</component>
|
|
112
133
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -117,7 +138,19 @@
|
|
|
117
138
|
<map>
|
|
118
139
|
<entry key="MAIN">
|
|
119
140
|
<value>
|
|
120
|
-
<State
|
|
141
|
+
<State>
|
|
142
|
+
<option name="FILTERS">
|
|
143
|
+
<map>
|
|
144
|
+
<entry key="branch">
|
|
145
|
+
<value>
|
|
146
|
+
<list>
|
|
147
|
+
<option value="origin/master" />
|
|
148
|
+
</list>
|
|
149
|
+
</value>
|
|
150
|
+
</entry>
|
|
151
|
+
</map>
|
|
152
|
+
</option>
|
|
153
|
+
</State>
|
|
121
154
|
</value>
|
|
122
155
|
</entry>
|
|
123
156
|
</map>
|
|
@@ -129,6 +162,8 @@
|
|
|
129
162
|
<MESSAGE value="feat(common): 添加弹窗ESC关闭功能并优化OSS服务 - 在popup函数中新增closeOnPressEscape参数,默认值为false - 将closeOnPressEscape参数传递给对话框配置 - 优化OSS服务中的getOssToken函数,防止重复请求 - 添加getIng变量控制请求状态 -" />
|
|
130
163
|
<MESSAGE value="feat(common): 添加弹窗ESC关闭功能并优化OSS服务 - 在popup函数中新增closeOnPressEscape参数,默认值为false - 将closeOnPressEscape参数传递给对话框配置 - 优化OSS服务中的getOssToken函数,防止重复请求 - 添加getIng变量控制请求状态 - 在请求完成后重置getIng状态 - 更新版本号从1.4.10到1.4.11" />
|
|
131
164
|
<MESSAGE value="chore(common): 移除对话框点击遮罩关闭功能并更新包信息 - 移除了 el-dialog 的 close-on-click-modal 属性配置 - 将包版本从 1.4.11 更新到 1.4.12 - 清空了作者信息字段" />
|
|
132
|
-
<
|
|
165
|
+
<MESSAGE value="chore(common): 优化代码格式并更新版本号 - 移除未使用的 router 导入 - 统一导入语句格式,调整 OrgEnum 和 xs-request 导入格式 - 标准化代码缩进和空格格式 - 在" />
|
|
166
|
+
<MESSAGE value="chore(common): 优化代码格式并更新版本号 - 移除未使用的 router 导入 - 统一导入语句格式,调整 OrgEnum 和 xs-request 导入格式 - 标准化代码缩进和空格格式 - 在 popup 方法中添加 dialogCfg 默认配置项 - 更新 package.json 版本号从 1.4.12 到 1.4.13 - 优化函数内部的代码格式和括号位置" />
|
|
167
|
+
<option name="LAST_COMMIT_MESSAGE" value="chore(common): 优化代码格式并更新版本号 - 移除未使用的 router 导入 - 统一导入语句格式,调整 OrgEnum 和 xs-request 导入格式 - 标准化代码缩进和空格格式 - 在 popup 方法中添加 dialogCfg 默认配置项 - 更新 package.json 版本号从 1.4.12 到 1.4.13 - 优化函数内部的代码格式和括号位置" />
|
|
133
168
|
</component>
|
|
134
169
|
</project>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xs-common-plugins",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.14",
|
|
4
4
|
"description": "向上公共代码部分",
|
|
5
5
|
"author": "",
|
|
6
6
|
"main": "index.js",
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "https://gitlab.365xs.cn/web/npm/xs-common-plugins.git"
|
|
14
14
|
}
|
|
15
|
-
}
|
|
15
|
+
}
|
package/src/common/common.js
CHANGED
|
@@ -32,7 +32,7 @@ common.getList = (that, url, query, callBack) => {
|
|
|
32
32
|
newQuery = obj
|
|
33
33
|
}
|
|
34
34
|
let request = common.getObject(url)
|
|
35
|
-
request(query ? query : newQuery).then((res) => {
|
|
35
|
+
return request(query ? query : newQuery).then((res) => {
|
|
36
36
|
if (callBack) {
|
|
37
37
|
callBack(res)
|
|
38
38
|
return
|