| | |
| | | }) |
| | | } |
| | | provide('reload', reload) |
| | | // 临时初始化:写入 userId 与 unitId,便于本地联调后端下单接口 |
| | | if (!userStore.getUserId) { |
| | | userStore.userId = '1' |
| | | } |
| | | if (!userStore.getUnitId) { |
| | | userStore.unitId = '1' |
| | | } |
| | | |
| | | setInterval(() => { |
| | | // 这个判断代表登录成功后才开始写入时间 |
| | | if(userStore.getAdminToken) { |
| | |
| | | .rowBtnDiv .normal-btn,.action-btns .normal-btn{ |
| | | padding: 8px 4px !important; |
| | | } |
| | | |
| | | /* Tooltip 宽度与换行控制(Element Plus Teleport 到 body,需要 deep 选择器) */ |
| | | .tooltip-wrap{ |
| | | max-width: 340px !important; |
| | | } |
| | | .tooltip-wrap .el-tooltip__content { |
| | | max-width: 340px !important; |
| | | white-space: normal !important; |
| | | word-break: break-word; |
| | | overflow-wrap: anywhere; |
| | | } |
| | | </style> |