去除多余引用,修正个别错误

This commit is contained in:
lawrencehj
2021-04-13 10:13:36 +08:00
parent d27164bf20
commit 8b4f7095e2
30 changed files with 12 additions and 60 deletions

View File

@@ -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") {

View File

@@ -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;