Browse Source

修正url参数传递的问题

master
xyiege 5 months ago
parent
commit
c014800437
  1. 11
      vue/afvue/src/views/Setedit.vue

11
vue/afvue/src/views/Setedit.vue

@ -63,16 +63,17 @@ export default {
}
},
mounted(e) {
console.log("evv",e)
th
this.getscdb()
// urlid
let id = this.$route.query.id
this.getscdb(id)
},
methods: {
getscdb() {
getscdb(sid) {
let host ="http://localhost:9099"
Scedit(host,{
id: this.scid
id: sid
}).then(res => {
console.log(res)
if (res.code == 200) {
this.serverlist = res.data
}

Loading…
Cancel
Save