<!--
 * @Author: zwq
 * @Date: 2025-10-13 16:18:41
 * @LastEditors: zwq
 * @LastEditTime: 2025-10-21 13:54:52
 * @Description:
-->
<template>
	<span>
		<el-tag
			v-if="injectData.work"
			size="small"
			:type="['', 'success', 'warning'][injectData.sort]">
			{{ injectData[injectData.prop] }}
		</el-tag>
		<el-tag v-else effect="dark" size="small" type="info">
			{{ injectData[injectData.prop] }}
		</el-tag>
	</span>
</template>

<script>
export default {
	props: {
		injectData: {
			type: Object,
			default: () => ({}),
		},
	},
	data() {
		return {};
	},
	created() {},
	methods: {},
};
</script>
