1. The function is an asynchronous function defined using the async keyword.
  2. The function takes an object userinfo as input.
  3. The function sends a PUT request to the server using the $http service provided by the Vue.js framework.
  4. The request URL is constructed using the id and state properties of the userinfo object.
  5. The response from the server is assigned to a destructured variable res using the data property of the response object.
  6. The function returns the res variable.
async userStateuserinfo const data res = await this$httpput userStateid=$userinfoid&state=$userinfostate ;解读一下

原文地址: https://www.cveoy.top/t/topic/bkb3 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录