当前版本

This commit is contained in:
ag 2025-01-13 14:11:16 +08:00
parent fee4985d75
commit ae6ec1b4eb
3 changed files with 43 additions and 26 deletions

64
.idea/workspace.xml generated
View File

@ -4,9 +4,11 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c4ea8ac7-164b-45ff-bbfd-c3f0f9ce655e" name="更改" comment="axios的封装调整"> <list default="true" id="c4ea8ac7-164b-45ff-bbfd-c3f0f9ce655e" name="更改" comment="token的获取方式改变">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/utils/axios.js" beforeDir="false" afterPath="$PROJECT_DIR$/utils/axios.js" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -27,12 +29,6 @@
</map> </map>
</branch-storage> </branch-storage>
</excluded-from-favorite> </excluded-from-favorite>
<option name="PUSH_TAGS">
<GitPushTagMode>
<option name="argument" value="--tags" />
<option name="title" value="All" />
</GitPushTagMode>
</option>
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component> </component>
<component name="ProjectColorInfo">{ <component name="ProjectColorInfo">{
@ -43,21 +39,21 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"git-widget-placeholder": "master", &quot;git-widget-placeholder&quot;: &quot;master&quot;,
"last_opened_file_path": "E:/work/web_CellsysPortal/trunk/cellsysArt", &quot;last_opened_file_path&quot;: &quot;E:/work/web_CellsysPortal/trunk/cellsysArt&quot;,
"node.js.detected.package.eslint": "true", &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
"node.js.detected.package.tslint": "true", &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
"node.js.selected.package.eslint": "(autodetect)", &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
"node.js.selected.package.tslint": "(autodetect)", &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
"nodejs_package_manager_path": "npm", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"settings.editor.selected.configurable": "preferences.editor", &quot;settings.editor.selected.configurable&quot;: &quot;preferences.editor&quot;,
"ts.external.directory.path": "D:\\Program Files\\WebStorm 2024.2.3\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external", &quot;ts.external.directory.path&quot;: &quot;D:\\Program Files\\WebStorm 2024.2.3\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external&quot;,
"vue.rearranger.settings.migration": "true" &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
} }
}]]></component> }</component>
<component name="SharedIndexes"> <component name="SharedIndexes">
<attachedChunks> <attachedChunks>
<set> <set>
@ -75,7 +71,9 @@
<updated>1735183249700</updated> <updated>1735183249700</updated>
<workItem from="1735183250727" duration="851000" /> <workItem from="1735183250727" duration="851000" />
<workItem from="1735194108286" duration="9000" /> <workItem from="1735194108286" duration="9000" />
<workItem from="1735195064295" duration="5185000" /> <workItem from="1735195064295" duration="17798000" />
<workItem from="1735957384445" duration="2821000" />
<workItem from="1736748405465" duration="93000" />
</task> </task>
<task id="LOCAL-00001" summary="一些调整"> <task id="LOCAL-00001" summary="一些调整">
<option name="closed" value="true" /> <option name="closed" value="true" />
@ -93,7 +91,23 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1735201083555</updated> <updated>1735201083555</updated>
</task> </task>
<option name="localTasksCounter" value="3" /> <task id="LOCAL-00003" summary="1.15.6">
<option name="closed" value="true" />
<created>1735202096134</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1735202096134</updated>
</task>
<task id="LOCAL-00004" summary="token的获取方式改变">
<option name="closed" value="true" />
<created>1735263702918</created>
<option name="number" value="00004" />
<option name="presentableId" value="LOCAL-00004" />
<option name="project" value="LOCAL" />
<updated>1735263702918</updated>
</task>
<option name="localTasksCounter" value="5" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -125,6 +139,8 @@
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="一些调整" /> <MESSAGE value="一些调整" />
<MESSAGE value="axios的封装调整" /> <MESSAGE value="axios的封装调整" />
<option name="LAST_COMMIT_MESSAGE" value="axios的封装调整" /> <MESSAGE value="1.15.6" />
<MESSAGE value="token的获取方式改变" />
<option name="LAST_COMMIT_MESSAGE" value="token的获取方式改变" />
</component> </component>
</project> </project>

View File

@ -1,7 +1,7 @@
{ {
"name": "@airkoon/cellsys", "name": "@airkoon/cellsys",
"version": "1.15.6", "version": "1.16.1",
"description": "边缘服务器相关", "description": "边缘服务器和cloud的公共库",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },

View File

@ -33,6 +33,7 @@ service.interceptors.request.use(
service.interceptors.response.use( service.interceptors.response.use(
(response) => { (response) => {
debugger;
let data; let data;
if (response.data === undefined || response.data == null) { if (response.data === undefined || response.data == null) {
switch (response.status) { switch (response.status) {