From 955ce833d6d079f1eddd8b40411c076204faff8f Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期三, 17 四月 2024 15:46:31 +0800
Subject: [PATCH] 修改memo
---
ruoyi-ui/src/views/note/memo.vue | 10 +++++++++-
ruoyi-ui/vue.config.js | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/note/memo.vue b/ruoyi-ui/src/views/note/memo.vue
index bae35f5..bc03647 100644
--- a/ruoyi-ui/src/views/note/memo.vue
+++ b/ruoyi-ui/src/views/note/memo.vue
@@ -323,7 +323,10 @@
this.uploadFileList.forEach((elem)=>{
formData.append("files", elem)
})
-
+ const cid = this.$route.params && this.$route.params.id;
+ const fid =2007;
+ this.formDat.fid = 2007;
+ this.formDat.cid = parseInt(cid) ;
let _this = this
uploadPic(formData).then(response => {
@@ -331,8 +334,13 @@
_this.formDat.url = _this.formDat.url+","+response.fileNames
alert(_this.formDat.url)
_this.uploadFileList = []
+ console.log(_this.formDat)
+ updateNote(_this.formDat).then(response => {
+ alert(984)
_this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛");
+ })
+
});
console.log(this.formDat,'formDatformDatformDatformDat')
},
diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index 8ff7d12..9a022ef 100644
--- a/ruoyi-ui/vue.config.js
+++ b/ruoyi-ui/vue.config.js
@@ -35,7 +35,7 @@
proxy: {
// detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- // target: `https://192.168.1.3:8080/`,
+ // target: `https://10.39.18.174:8080/`,
target: 'https://www.bendudu.com:8080/',
changeOrigin: true,
pathRewrite: {
--
Gitblit v1.9.1