I want to pop up a dialog, with two input every time axios sends a request. What should I do with elementUI?

I don"t want to write an extra dialog,. I want to use the wheel built by elementUI. If I can"t satisfy it, I have to write it myself

.

I can play one messageBox, at a time now, but I don"t know how to play dialog with two input boxes

// request interceptor
service.interceptors.request.use(config => {
  MessageBox("", "", {
    confirmButtonText: ""
  })
  // Do something before request is sent
  if (getToken()) {
    config.headers["token"] = getToken()
  } else {
    console.log("token")
  }
  return config
}, error => {
  // Do something with request error
  console.log(error) // for debug
  Promise.reject(error)
})

write a dialog component to hang on DOM, which is hidden by default, and can be displayed by DOM during callback


is not in the vue example. Maybe you don't have Vue.use (elementUi)?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35c9c-2bfdb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35c9c-2bfdb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?