no message
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('/api/dict'),
|
url: this.$http.adornUrl('/api/dict'),
|
||||||
method: !this.dataForm.dict_id ? 'put' :'post',
|
method: this.dataForm.dict_id !== null ? 'put' :'post',
|
||||||
data: this.$http.adornData(this.dataForm)
|
data: this.$http.adornData(this.dataForm)
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data && data.code === 200) {
|
if (data && data.code === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user