| | |
| | | console.log(code, msg); |
| | | switch (code) { |
| | | case invalidCode: |
| | | console.log(code); |
| | | Vue.prototype.$baseMessage(msg || `后端接口${code}异常`, "error"); |
| | | store.dispatch("user/resetAccessToken").catch(() => {}); |
| | | if (loginInterception) { |
| | |
| | | } |
| | | break; |
| | | case noPermissionCode: |
| | | console.log(code); |
| | | store.dispatch("user/logout").then(() => { |
| | | router.push({ path: "/login" }).catch(() => {}); |
| | | }); |
| | | break; |
| | | default: |
| | | console.log(code); |
| | | Vue.prototype.$baseMessage(msg || `后端接口${code}异常`, "error"); |
| | | break; |
| | | } |
| | |
| | | stripe |
| | | :data="list" |
| | | :element-loading-text="elementLoadingText" |
| | | :height="height" |
| | | @selection-change="setSelectRows" |
| | | @expand-change="expandChange" |
| | | > |
| | |
| | | :data="props.row.pkgList" |
| | | :show-header="false" |
| | | style="width: 100%" |
| | | row-class-name="expand-row" |
| | | :highlight-current-row="false" |
| | | > |
| | | > |
| | | <el-table-column prop="fileName"></el-table-column> |
| | | <el-table-column prop="version" width="150"></el-table-column> |
| | |
| | | }, |
| | | }; |
| | | </script> |
| | | <style> |
| | | .el-table .expand-row { |
| | | background-color: oldlace; |
| | | } |
| | | </style> |