添加赋值空值
This commit is contained in:
parent
e3dbce8b86
commit
3722c11f66
@ -157,7 +157,7 @@ const visible = computed({
|
|||||||
// 监听抽屉打开,加载数据
|
// 监听抽屉打开,加载数据
|
||||||
watch(visible, (newVal) => {
|
watch(visible, (newVal) => {
|
||||||
if (newVal) {
|
if (newVal) {
|
||||||
Type.value = props.templateType
|
Type.value = props.templateType||''
|
||||||
// 清除模板名称和部位的输入框内容
|
// 清除模板名称和部位的输入框内容
|
||||||
queryParams.contentName = undefined
|
queryParams.contentName = undefined
|
||||||
queryParams.category = undefined
|
queryParams.category = undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user