@netang/quasar 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -59,22 +59,26 @@
|
|
|
59
59
|
<!-- 渲染详情页面(手机端不显示) -->
|
|
60
60
|
<template v-slot:after>
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
62
|
+
<slot name="after">
|
|
63
|
+
|
|
64
|
+
<!-- 渲染 -->
|
|
65
|
+
<n-render
|
|
66
|
+
:name="renderName"
|
|
67
|
+
:path="renderPath"
|
|
68
|
+
:component="renderComponent"
|
|
69
|
+
:query="currentQuery"
|
|
70
|
+
:props="renderProps"
|
|
71
|
+
v-if="currentQuery"
|
|
72
|
+
/>
|
|
73
|
+
|
|
74
|
+
<!-- 空状态 -->
|
|
75
|
+
<n-empty
|
|
76
|
+
:description="renderDescription"
|
|
77
|
+
fit
|
|
78
|
+
v-else
|
|
79
|
+
/>
|
|
80
|
+
|
|
81
|
+
</slot>
|
|
78
82
|
|
|
79
83
|
</template>
|
|
80
84
|
|
|
@@ -174,7 +178,7 @@ export default {
|
|
|
174
178
|
default: '没有找到任何数据',
|
|
175
179
|
},
|
|
176
180
|
// 不需要加载渲染页面标识参数
|
|
177
|
-
// 额外加载参数 {
|
|
181
|
+
// 额外加载参数 { n_render_page: 1 }
|
|
178
182
|
noRendPageName: Boolean,
|
|
179
183
|
},
|
|
180
184
|
|
|
@@ -225,7 +229,7 @@ export default {
|
|
|
225
229
|
// 格式化已选数据, 并返回参数
|
|
226
230
|
return Object.assign({}, resQuery, {
|
|
227
231
|
// 是否为渲染页面
|
|
228
|
-
|
|
232
|
+
n_render_page: 1,
|
|
229
233
|
})
|
|
230
234
|
}
|
|
231
235
|
|