This commit is contained in:
@@ -469,6 +469,14 @@
|
||||
</template>
|
||||
|
||||
<!-- IoT卡操作按钮 -->
|
||||
<ElAlert
|
||||
v-if="startErrorMessage"
|
||||
:title="startErrorMessage"
|
||||
type="error"
|
||||
:closable="false"
|
||||
show-icon
|
||||
style="margin-top: 16px"
|
||||
/>
|
||||
<div
|
||||
v-if="cardInfo?.asset_type === 'card'"
|
||||
class="card-operations"
|
||||
@@ -558,6 +566,7 @@
|
||||
ElTable,
|
||||
ElTableColumn,
|
||||
ElButton,
|
||||
ElAlert,
|
||||
ElEmpty,
|
||||
ElMessageBox,
|
||||
ElMessage
|
||||
@@ -670,6 +679,7 @@
|
||||
pollingEnabled: boolean
|
||||
realtimeLoading?: boolean
|
||||
startDisabled?: boolean
|
||||
startErrorMessage?: string
|
||||
stopDisabled?: boolean
|
||||
startRemainingText?: string
|
||||
stopRemainingText?: string
|
||||
@@ -682,6 +692,7 @@
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
realtimeLoading: false,
|
||||
startDisabled: false,
|
||||
startErrorMessage: '',
|
||||
stopDisabled: false,
|
||||
startRemainingText: '',
|
||||
stopRemainingText: ''
|
||||
|
||||
Reference in New Issue
Block a user