fix:代码块模块修改

This commit is contained in:
LAPTOP-8RNQO8UO\86159 2023-07-04 16:39:52 +08:00
parent 499fff8e28
commit a188413ec5

View File

@ -150,7 +150,7 @@ const headers = {
//
const params = reactive({
customer_guid: "",
code_module_category_guid: props.code_module_category.code_module_category_guid ? props.code_module_category.code_module_category_guid : "",
code_module_category_guid: "",
code_module_name: "",
code_module_audit: "",
@ -160,7 +160,9 @@ const props = defineProps({
code_module_category: Object,
});
watch(props, (v) => {
params.code_module_category_guid = props.code_module_category.code_module_category_guid
if (props.code_module_category) {
params.code_module_category_guid = props.code_module_category.code_module_category_guid
}
});
if (props.code_module_category) {
params.code_module_category_guid = props.code_module_category.code_module_category_guid