zengyicheng 3 年之前
父节点
当前提交
6eaecf53b3

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       height: 100%;
       width: 100%;
       width: 100%;
       background: #e6eaf0;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.6aca562c280b061c0141cddb4a1f0d23.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.57c88615aac160d2c474.js></script><script type=text/javascript src=./static/js/app.1662d546268345f7fb60.js></script></body></html>
+    }</style><link href=./static/css/app.d9e94757c13d9dd209396cb0ec1caba9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.57c88615aac160d2c474.js></script><script type=text/javascript src=./static/js/app.3b9fc8ae03e2ec590ea8.js></script></body></html>

文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.d9e94757c13d9dd209396cb0ec1caba9.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.d9e94757c13d9dd209396cb0ec1caba9.css.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.1662d546268345f7fb60.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.1662d546268345f7fb60.js.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.3b9fc8ae03e2ec590ea8.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.3b9fc8ae03e2ec590ea8.js.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/manifest.fed1de90e0941b3846db.js.map


+ 15 - 1
src/components/pages/note.vue

@@ -19,7 +19,7 @@
         <span style="width: 100%">
         <span style="width: 100%">
           <el-input placeholder="搜索..." v-model="noteC" clearable> </el-input>
           <el-input placeholder="搜索..." v-model="noteC" clearable> </el-input>
         </span>
         </span>
-        <el-button type="primary">查询</el-button>
+        <el-button type="primary" @click="selectContent">查询</el-button>
       </div>
       </div>
       <div class="noteList">
       <div class="noteList">
         <div class="noteBg" v-for="(item, index) in noteList" :key="index">
         <div class="noteBg" v-for="(item, index) in noteList" :key="index">
@@ -90,6 +90,20 @@ export default {
           console.error(err);
           console.error(err);
         });
         });
     },
     },
+    selectContent(){
+        let params = {
+        cn: this.noteC,
+      };
+      this.ajax
+        .get(this.$store.state.api + "selectNoteContent", params)
+        .then((res) => {
+          this.noteList = res.data[0];
+        })
+        .catch((err) => {
+          this.$message.error("查询失败");
+          console.error(err);
+        });
+    },
     addNote() {
     addNote() {
       let params = {
       let params = {
         uid: this.userid,
         uid: this.userid,

部分文件因为文件数量过多而无法显示