|
|
@@ -169,7 +169,7 @@ export default { |
|
|
list.pop(); |
|
|
list.pop(); |
|
|
list.push('create_local_model_2'); |
|
|
list.push('create_local_model_2'); |
|
|
window.location.href = list.join('/') + '?type=0&name=' + encodeURIComponent(this.state.name) + '&id=' + res.id; |
|
|
window.location.href = list.join('/') + '?type=0&name=' + encodeURIComponent(this.state.name) + '&id=' + res.id; |
|
|
} if (res && res.code == '-1') { |
|
|
|
|
|
|
|
|
} else if (res && res.code == '-1') { |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
type: 'error', |
|
|
type: 'error', |
|
|
message: res.msg, |
|
|
message: res.msg, |
|
|
|