fix: id兼容, 通知入口
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m0s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m0s
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<template v-if="!props.seriesId">
|
||||
<ElOption value="__NO_PACKAGE__" disabled>
|
||||
<span style="color: var(--el-text-color-warning)">
|
||||
该设备未关联套餐系列,无法购买套餐
|
||||
{{ noSeriesMessage }}
|
||||
</span>
|
||||
</ElOption>
|
||||
</template>
|
||||
@@ -45,7 +45,7 @@
|
||||
</ElSelect>
|
||||
<template v-if="noSeriesId">
|
||||
<div style="margin-top: 4px; font-size: 12px; color: var(--el-text-color-warning)">
|
||||
该设备未关联套餐系列,无法购买套餐
|
||||
{{ noSeriesMessage }}
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="packagesEmptyWithSeriesId">
|
||||
@@ -182,6 +182,9 @@
|
||||
})
|
||||
|
||||
const noSeriesId = computed(() => !props.seriesId)
|
||||
const noSeriesMessage = computed(
|
||||
() => `该${props.assetType === 'card' ? '卡' : '设备'}未关联套餐系列,无法购买套餐`
|
||||
)
|
||||
|
||||
const selectedPackageIsGift = computed(() => {
|
||||
if (!form.package_id) return false
|
||||
|
||||
Reference in New Issue
Block a user