mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
Merge branch '7.x' of https://e.coding.net/shancool/cool-admin/front-next into 7.x
This commit is contained in:
commit
5a739203df
@ -114,7 +114,7 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
|||||||
import { Plus, Setting } from "@element-plus/icons-vue";
|
import { Plus, Setting } from "@element-plus/icons-vue";
|
||||||
import { marked } from "marked";
|
import { marked } from "marked";
|
||||||
import { useForm } from "@cool-vue/crud";
|
import { useForm } from "@cool-vue/crud";
|
||||||
import { isString, merge, template } from "lodash-es";
|
import { merge, template } from "lodash-es";
|
||||||
|
|
||||||
const { service, refs, setRefs } = useCool();
|
const { service, refs, setRefs } = useCool();
|
||||||
const Form = useForm();
|
const Form = useForm();
|
||||||
@ -195,8 +195,9 @@ function toSet(item: Eps.PluginInfoEntity) {
|
|||||||
|
|
||||||
service.plugin.info
|
service.plugin.info
|
||||||
.update({
|
.update({
|
||||||
...data,
|
config,
|
||||||
config
|
id: data.id,
|
||||||
|
status: data.status
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
ElMessage.success("修改成功");
|
ElMessage.success("修改成功");
|
||||||
|
Loading…
Reference in New Issue
Block a user