Browse Source

代码模板,内嵌列表

CzRger 9 months ago
parent
commit
0bfaddfbc0

+ 1 - 3
snowy-plugin/snowy-plugin-gen/src/main/resources/frontend/index_inside.vue.btl

@@ -308,9 +308,7 @@
     const onDetail = (record = null, view) => {
     	indexShow.value = false
     	nextTick(() => {
-    		if (record) {
-    			detailRef.value.onOpen(record, view)
-    		}
+            detailRef.value.onOpen(record, view)
     	})
     }
 	<% if (searchCount > 0) { %>