update: The code structure is finished, and the project can run successfully

This commit is contained in:
QM303176530
2020-04-05 16:19:34 +08:00
parent 08ff55ffce
commit c755120c8d
16 changed files with 53 additions and 39 deletions
+2 -2
View File
@@ -115,14 +115,14 @@ export default {
methods: {
async initForm() {
const res = await getSystemConfig()
if (res.success) {
if (res.code == 0) {
this.config = res.data.config
}
},
reload() {},
async update() {
const res = await setSystemConfig({ config: this.config })
if (res.success) {
if (res.code == 0) {
this.$message({
type: 'success',
message: '配置文件设置成功'