Bang Hu
1 天以前 8a709ba6db50831048f9c3e2452ea6dc6c3de36f
src/App.vue
@@ -29,13 +29,7 @@
  })
}
provide('reload', reload)
// 临时初始化:写入 userId 与 unitId,便于本地联调后端下单接口
if (!userStore.getUserId) {
  userStore.userId = '1'
}
if (!userStore.getUnitId) {
  userStore.unitId = '1'
}
setInterval(() => {
// 这个判断代表登录成功后才开始写入时间
  if(userStore.getAdminToken) {
@@ -129,5 +123,14 @@
.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>