修改bug

This commit is contained in:
yangjun 2024-10-11 17:12:06 +08:00
parent 50538c9284
commit 2c1e834931
3 changed files with 5 additions and 5 deletions

View File

@ -585,8 +585,8 @@
<a-modal v-model:visible="imgvisible" title="图片预览" width="800px" :cancelText="`关闭`" :okButtonProps="{ class: { 'jee-hidden': true } }"> <a-modal v-model:visible="imgvisible" title="图片预览" width="800px" :cancelText="`关闭`" :okButtonProps="{ class: { 'jee-hidden': true } }">
<div style="padding: 10px 20px;"> <div style="padding: 10px 20px;">
<a-button type="primary" @click="rotateImage">顺时针旋转90度</a-button> <a-button type="primary" @click="rotateImage">顺时针旋转</a-button>
<a-button type="primary" @click="rotateImage2" style="margin-left: 20px;">逆时针旋转90度</a-button> <a-button type="primary" @click="rotateImage2" style="margin-left: 20px;">逆时针旋转</a-button>
</div> </div>
<div class="image-container"> <div class="image-container">
<img :src="ylimgurl" :style="{ transform: 'rotate(' + rotationAngle + 'deg)' }" class="rotated-image"/> <img :src="ylimgurl" :style="{ transform: 'rotate(' + rotationAngle + 'deg)' }" class="rotated-image"/>

View File

@ -92,7 +92,7 @@
<j-upload v-model:value="formData.filePath" :disabled="disabled" maxCount="1" accept=".doc,.docx,.pdf" :text="`上传作业`" style="background: #ededed; " :forceAcceptVerify="true" ></j-upload> <j-upload v-model:value="formData.filePath" :disabled="disabled" maxCount="1" accept=".doc,.docx,.pdf" :text="`上传作业`" style="background: #ededed; " :forceAcceptVerify="true" ></j-upload>
</div> </div>
<div v-if="zyInfo.sfcc == '0'"> <div v-if="zyInfo.sfcc == '0'">
<j-upload v-model:value="formData.filePath" :disabled="disabled" maxCount="1" :text="`上传作业`" style="background: #ededed; " :forceAcceptVerify="true" ></j-upload> <j-upload v-model:value="formData.filePath" :disabled="disabled" maxCount="1" accept=".doc,.docx,.pdf,.jpg,.jpeg,.png,.mp3,.mp4,.zip,.ppt,.rar,.excel" :text="`上传作业`" style="background: #ededed; " :forceAcceptVerify="true" ></j-upload>
</div> </div>
</a-col> </a-col>
<a-col :span="24" v-if="isYl"> <a-col :span="24" v-if="isYl">

View File

@ -8,8 +8,8 @@
</div> </div>
<div v-else-if="showType=='2'"> <div v-else-if="showType=='2'">
<div style="padding: 10px 20px;"> <div style="padding: 10px 20px;">
<a-button type="primary" @click="rotateImage">顺时针旋转90度</a-button> <a-button type="primary" @click="rotateImage">顺时针旋转</a-button>
<a-button type="primary" @click="rotateImage2" style="margin-left: 20px;">逆时针旋转90度</a-button> <a-button type="primary" @click="rotateImage2" style="margin-left: 20px;">逆时针旋转</a-button>
</div> </div>
<div class="image-container"> <div class="image-container">