|
|
@@ -115,6 +115,21 @@ export function render(_ctx) {
|
|
|
}"
|
|
|
`;
|
|
|
|
|
|
+exports[`compiler: v-for > object value, key and index 1`] = `
|
|
|
+"import { child as _child, toDisplayString as _toDisplayString, setText as _setText, renderEffect as _renderEffect, createFor as _createFor, template as _template } from 'vue';
|
|
|
+const t0 = _template("<div> </div>", true)
|
|
|
+
|
|
|
+export function render(_ctx) {
|
|
|
+ const n0 = _createFor(() => (_ctx.list), (_for_item0, _for_key0, _for_index0) => {
|
|
|
+ const n2 = t0()
|
|
|
+ const x2 = _child(n2)
|
|
|
+ _renderEffect(() => _setText(x2, _toDisplayString(_for_item0.value + _for_key0.value + _for_index0.value)))
|
|
|
+ return n2
|
|
|
+ }, (value, key, index) => (key))
|
|
|
+ return n0
|
|
|
+}"
|
|
|
+`;
|
|
|
+
|
|
|
exports[`compiler: v-for > v-for aliases w/ complex expressions 1`] = `
|
|
|
"import { getDefaultValue as _getDefaultValue, child as _child, toDisplayString as _toDisplayString, setText as _setText, renderEffect as _renderEffect, createFor as _createFor, template as _template } from 'vue';
|
|
|
const t0 = _template("<div> </div>", true)
|