fix: 修改步骤条样式, 增强tag组件兼容性

This commit is contained in:
wenhua
2024-06-28 23:53:43 +08:00
parent 16c4e07a86
commit bd2d12551a
5 changed files with 31 additions and 7 deletions

View File

@@ -308,6 +308,7 @@ const search = (val) => {
}
const init = async () => {
const {code, msg, data} = await searchUpdateLedgerData(route.query.id)
console.log("🚀 ~ init ~ data:", data)
if (data) {
tableData.value = data
baseForm.value.setValues(data)

View File

@@ -141,7 +141,7 @@ const handleSubmit = async () => {
}
const getBaseInfo = async () => {
const {code, data} = await getBaseInfoApi(route.query.id)
tableForm.value.projectName = data.projectName
tableForm.value.projectName = data?.projectName || ''
}
getBaseInfo()
const init = async () => {