chore(lint): 升级检查依赖并统一格式化与提交规范
This commit is contained in:
1 parent
1383b58e80
commit
c10ccad472
107 files changed
+2420
-2190
No files matched your search
@@ -57,7 +57,7 @@ function handleConfirm(data: IUser[]) {
|
||||
const text = computed(() => {
|
||||
const dictData = dictStore.getDictItems("gender");
|
||||
const genderLabel = dictData.find(
|
||||
(item) => String(item.value) === String(selectedUser.value?.gender)
|
||||
(item) => String(item.value) === String(selectedUser.value?.gender),
|
||||
)?.label;
|
||||
return selectedUser.value
|
||||
? `${selectedUser.value.username} - ${genderLabel} - ${selectedUser.value.deptName}`
|
||||
|
||||
@@ -134,10 +134,10 @@ const fileUrls = ref([
|
||||
// 绑定值 JSON 预览
|
||||
const picUrlJson = computed(() => (picUrl.value ? JSON.stringify(picUrl.value) : "// 暂无数据"));
|
||||
const picUrlsJson = computed(() =>
|
||||
picUrls.value.length ? JSON.stringify(picUrls.value, null, 2) : "// 暂无数据"
|
||||
picUrls.value.length ? JSON.stringify(picUrls.value, null, 2) : "// 暂无数据",
|
||||
);
|
||||
const fileUrlsJson = computed(() =>
|
||||
fileUrls.value.length ? JSON.stringify(fileUrls.value, null, 2) : "// 暂无数据"
|
||||
fileUrls.value.length ? JSON.stringify(fileUrls.value, null, 2) : "// 暂无数据",
|
||||
);
|
||||
</script>
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ const init = async () => {
|
||||
chartInstance.value = markRaw(
|
||||
echarts.init(chartRef.value, theme, {
|
||||
renderer: "canvas",
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@ export default defineComponent({
|
||||
type: "primary",
|
||||
onClick: () => navigateToDetail(1),
|
||||
},
|
||||
{ default: () => "跳转详情1" }
|
||||
{ default: () => "跳转详情1" },
|
||||
),
|
||||
h(
|
||||
ElButton,
|
||||
@@ -38,7 +38,7 @@ export default defineComponent({
|
||||
type: "success",
|
||||
onClick: () => navigateToDetail(2),
|
||||
},
|
||||
{ default: () => "跳转详情2" }
|
||||
{ default: () => "跳转详情2" },
|
||||
),
|
||||
]);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user