fix: 解决商品上一版遗留的各种小bug关键部分已添加fix注释。完成的TODO也已添加fix标记

This commit is contained in:
puhui999
2023-05-17 18:24:34 +08:00
parent 3c4a39df01
commit 4ddba9d454
10 changed files with 216 additions and 218 deletions

View File

@@ -8,7 +8,7 @@
class="-mb-15px"
label-width="68px"
>
<!-- TODO @puhui999https://admin.java.crmeb.net/store/index参考使用分类 + 标题搜索 -->
<!-- TODO @puhui999https://admin.java.crmeb.net/store/index参考使用分类 + 标题搜索 fix-->
<el-form-item label="品牌名称" prop="name">
<el-input
v-model="queryParams.name"
@@ -351,11 +351,11 @@ const resetQuery = () => {
const openForm = (id?: number) => {
// 修改
if (typeof id === 'number') {
push('/product/productManagementAdd?id=' + id)
push('/product/productSpuEdit/' + id)
return
}
// 新增
push('/product/productManagementAdd')
push('/product/productSpuAdd')
}
// 监听路由变化更新列表 TODO @puhui999这个是必须加的么fix: 因为编辑表单是以路由的方式打开,保存表单后列表不会刷新
@@ -377,8 +377,11 @@ onMounted(async () => {
</script>
<style lang="scss" scoped>
.demo-table-expand {
padding-left: 42px;
:deep(.el-form-item__label) {
width: 82px;
font-weight: bold;
color: #99a9bf;
}
}