2024.5.15 后台优化

This commit is contained in:
libao 2024-05-15 10:23:33 +08:00
parent a91bc86bf2
commit a8ddcf4b86
3 changed files with 13 additions and 11 deletions

View File

@ -141,7 +141,7 @@ export default {
this.Quill = null;
},
methods: {
init() {
const editor = this.$refs.editor;
this.Quill = new Quill(editor, this.options);
@ -213,7 +213,7 @@ export default {
//
let length = quill.getSelection().index;
// res.url
quill.insertEmbed(length, "image", process.env.VUE_APP_BASE_API + res.fileName);
quill.insertEmbed(length, "image", res.fileName);
//
quill.setSelection(length + 1);
} else {
@ -241,8 +241,8 @@ export default {
this.$modal.msgError("上传失败,请重试");
}
}
},
handlePreview(file){
var link = document.createElement("a"); //a

View File

@ -55,9 +55,9 @@
</el-form-item>
</el-form>
<!-- 底部 -->
<div class="el-login-footer">
<span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
</div>
<!-- <div class="el-login-footer">-->
<!-- <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>-->
<!-- </div>-->
</div>
</template>
@ -72,8 +72,8 @@ export default {
return {
codeUrl: "",
loginForm: {
username: "admin",
password: "admin123",
username: "",
password: "",
rememberMe: false,
code: "",
uuid: ""

View File

@ -195,8 +195,10 @@
<el-form-item label="语言标签" prop="tags">
<el-select v-model="form.categoryTags" clearable>
<el-option v-for="(item, index) in tagList" :key="index"
:label="item.tagName" :value="item.tagId"></el-option>
<el-option label="中文" value="0" :key='0'></el-option>
<el-option label="英文" value="1" :key='1'></el-option>
<el-option label="韩文" value="2" :key='2'></el-option>
<el-option label="日文" value="3" :key='3'></el-option>
</el-select>
</el-form-item>
</el-form>