快乐的昕的电脑
2025-10-09 722710a6d60c26a6c199564465c778677b476a00
components/mold.vue
@@ -117,10 +117,10 @@
      },
      methods: {
            async fetchTools(searchKey) {
                // 使用 this.$post 发送 POST 请求,body 直接传字符串
                // 传递对象,而不是字符串
                const res = await this.$post({
                    url: '/MesOrderSta/QueryTools',
                    data: searchKey // 直接传字符串
                    data: { searchKey } // 这里是对象
                });
                if (res.status === 0) {
                    this.filteredTools = res.data.tbBillList.map(t => ({