@@ -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",
@@ -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;