wuhongyuq 5 years ago
parent
commit
054cdfd8c6
3 changed files with 302 additions and 297 deletions
  1. 300 295
      package-lock.json
  2. 1 0
      package.json
  3. 1 2
      src/views/user/dati.vue

File diff suppressed because it is too large
+ 300 - 295
package-lock.json


+ 1 - 0
package.json

@@ -8,6 +8,7 @@
     "lint": "vue-cli-service lint"
   },
   "dependencies": {
+    "@stomp/stompjs": "^5.4.3",
     "axios": "^0.19.2",
     "core-js": "^3.6.4",
     "element-ui": "^2.13.0",

+ 1 - 2
src/views/user/dati.vue

@@ -60,8 +60,7 @@ export default {
     ...mapTask({ list: 'query', add: 'create', fet: 'fetch', updates: 'update' }),
     async search() {
       console.log(this.id);
-
-      const res = await this.fet(this.id);
+      const res = await this.list(this.id);
       console.log(res.data);
       this.$set(this, `datilist`, res.data);
       this.loading = false;