| | |
| | | let tempData = this.$refs.modalBox.form; |
| | | var param = { |
| | | introduce: tempData.introduce, |
| | | secret: tempData.secret, |
| | | secret: tempData.secret == "" ? null : md5(tempData.secret), |
| | | title: tempData.title, |
| | | articleTypeId: tempData.class, |
| | | isOnline: !tempData.online ? 1 : 0, |
| | |
| | | console.log(param) |
| | | this.loading = true; |
| | | blogAdd(param).then((res) => { |
| | | this.$message.info("生成日志成功..") |
| | | this.visible = false; |
| | | |
| | | if (res.code == 200) { |
| | | this.$message.info("生成日志成功..") |
| | | this.visible = false; |
| | | } else{ |
| | | this.$message.error('生成日志失败:' + res.message) |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | // setTimeout(() => { |