瀏覽代碼

代码模板,内嵌列表

CzRger 10 月之前
父節點
當前提交
0bfaddfbc0
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      snowy-plugin/snowy-plugin-gen/src/main/resources/frontend/index_inside.vue.btl

+ 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) { %>