improve: 分类展示

This commit is contained in:
From-wh 2023-06-30 14:20:35 +08:00
parent 7e3c8a9678
commit 0022d078e5

View File

@ -1,5 +1,5 @@
<template>
<div v-if="uploadModal">
<div>
<el-dialog
title="上传图片"
append-to-body
@ -154,10 +154,9 @@ export default {
},
},
watch: {
categoryId: {
uploadModal: {
handler(newVal) {
this.ruleForm.region = newVal;
console.log('diaole ');
if (newVal) this.ruleForm.region = this.categoryId;
},
immediate: true,
},