upload photos in a form, and the fields of this photo are configured in other modules. According to the configuration, you can verify whether the photos must be uploaded or not. Requirement: this field must be displayed, but it is verified differently when you save it.
<el-form-item label="" prop="txlj" required>
<upload-img :uploadPic="canUpload"
:downloadPic="canDownload"
modeName="kszp"
tipText="1:1"
:maxSize="50"
:clientName.sync="form.txkhd"
:serverPath.sync="form.txlj"
:serverName.sync="form.txfwd"></upload-img>
</el-form-item>
the judgment condition is this.ksxx.sfscsfz="1". The use of v-if is not in line with business logic, required inside the use of ternary operators will report an error, do not know how to solve, for the solution, thank you!