去除多余引用,修正个别错误
This commit is contained in:
@@ -62,9 +62,9 @@ export default {
|
||||
this.isLoging = true;
|
||||
|
||||
this.$axios({
|
||||
method: 'get',
|
||||
url:"/api/user/login",
|
||||
params: loginParam
|
||||
method: 'get',
|
||||
url:"/api/user/login",
|
||||
params: loginParam
|
||||
}).then(function (res) {
|
||||
console.log(JSON.stringify(res));
|
||||
if (res.data == "success") {
|
||||
|
||||
@@ -122,8 +122,8 @@ export default {
|
||||
deletePlatformCommit: function(platform) {
|
||||
var that = this;
|
||||
that.$axios({
|
||||
method: 'delete',
|
||||
url:`/api/platform/delete/${platform.serverGBId}`
|
||||
method: 'delete',
|
||||
url:`/api/platform/delete/${platform.serverGBId}`
|
||||
}).then(function (res) {
|
||||
if (res.data == "success") {
|
||||
that.$message({
|
||||
@@ -157,8 +157,8 @@ export default {
|
||||
let that = this;
|
||||
|
||||
this.$axios({
|
||||
method: 'get',
|
||||
url:`/api/platform/query/${that.count}/${that.currentPage}`
|
||||
method: 'get',
|
||||
url:`/api/platform/query/${that.count}/${that.currentPage}`
|
||||
}).then(function (res) {
|
||||
that.total = res.data.total;
|
||||
that.platformList = res.data.list;
|
||||
|
||||
Reference in New Issue
Block a user