@yoooloo42/joker 1.0.71 → 1.0.74
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.
- package/dist/dist/bundle.css +3 -43
- package/dist/index.cjs.js +240 -145
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +240 -145
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -22451,15 +22451,15 @@ script$h.__file = "src/form/LabelBox.vue";
|
|
|
22451
22451
|
|
|
22452
22452
|
const _hoisted_1$e = { key: 12 };
|
|
22453
22453
|
const _hoisted_2$d = { key: 0 };
|
|
22454
|
-
const _hoisted_3$
|
|
22455
|
-
const _hoisted_4$
|
|
22456
|
-
const _hoisted_5$
|
|
22457
|
-
const _hoisted_6$
|
|
22458
|
-
const _hoisted_7$
|
|
22459
|
-
const _hoisted_8$
|
|
22460
|
-
const _hoisted_9$
|
|
22461
|
-
const _hoisted_10$
|
|
22462
|
-
const _hoisted_11
|
|
22454
|
+
const _hoisted_3$6 = { key: 13 };
|
|
22455
|
+
const _hoisted_4$5 = { key: 0 };
|
|
22456
|
+
const _hoisted_5$4 = { key: 14 };
|
|
22457
|
+
const _hoisted_6$4 = { key: 0 };
|
|
22458
|
+
const _hoisted_7$4 = { key: 16 };
|
|
22459
|
+
const _hoisted_8$3 = ["innerHTML"];
|
|
22460
|
+
const _hoisted_9$2 = { key: 17 };
|
|
22461
|
+
const _hoisted_10$1 = ["width", "height", "poster"];
|
|
22462
|
+
const _hoisted_11 = ["src"];
|
|
22463
22463
|
const _hoisted_12 = ["src"];
|
|
22464
22464
|
const _hoisted_13 = ["src"];
|
|
22465
22465
|
const _hoisted_14 = { key: 0 };
|
|
@@ -22985,7 +22985,7 @@ return (_ctx, _cache) => {
|
|
|
22985
22985
|
createCommentVNode(" 图片&富文本&视频 "),
|
|
22986
22986
|
createCommentVNode(" 图片 "),
|
|
22987
22987
|
(__props.item.inputType === 'image')
|
|
22988
|
-
? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
22988
|
+
? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
22989
22989
|
createElementVNode("div", null, [
|
|
22990
22990
|
createVNode(_component_el_image, {
|
|
22991
22991
|
style: normalizeStyle(style.image(__props.item, __props.myProps)),
|
|
@@ -22997,7 +22997,7 @@ return (_ctx, _cache) => {
|
|
|
22997
22997
|
]),
|
|
22998
22998
|
createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
|
|
22999
22999
|
(!!__props.item.imageDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
23000
|
-
? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
23000
|
+
? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
23001
23001
|
createVNode(_component_el_button, {
|
|
23002
23002
|
size: "small",
|
|
23003
23003
|
icon: !__props.dataBox.fieldsValue[__props.item.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
@@ -23014,7 +23014,7 @@ return (_ctx, _cache) => {
|
|
|
23014
23014
|
: createCommentVNode("v-if", true),
|
|
23015
23015
|
createCommentVNode(" 多个图片 "),
|
|
23016
23016
|
(__props.item.inputType === 'images')
|
|
23017
|
-
? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
23017
|
+
? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
23018
23018
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataBox.fieldsValue[__props.item.fieldName], (itemImages, indexImages) => {
|
|
23019
23019
|
return (openBlock(), createElementBlock("div", {
|
|
23020
23020
|
key: indexImages,
|
|
@@ -23028,7 +23028,7 @@ return (_ctx, _cache) => {
|
|
|
23028
23028
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23029
23029
|
]),
|
|
23030
23030
|
(!!__props.item.imageDelete)
|
|
23031
|
-
? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
23031
|
+
? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
23032
23032
|
createVNode(_component_el_button, {
|
|
23033
23033
|
size: "small",
|
|
23034
23034
|
icon: "el-icon-delete",
|
|
@@ -23060,15 +23060,15 @@ return (_ctx, _cache) => {
|
|
|
23060
23060
|
: createCommentVNode("v-if", true),
|
|
23061
23061
|
createCommentVNode(" 富文本show "),
|
|
23062
23062
|
(__props.item.inputType === 'richtextShow')
|
|
23063
|
-
? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
23063
|
+
? (openBlock(), createElementBlock("div", _hoisted_7$4, [
|
|
23064
23064
|
createElementVNode("div", {
|
|
23065
23065
|
innerHTML: __props.dataBox.fieldsValue[__props.item.fieldName]
|
|
23066
|
-
}, null, 8 /* PROPS */, _hoisted_8$
|
|
23066
|
+
}, null, 8 /* PROPS */, _hoisted_8$3)
|
|
23067
23067
|
]))
|
|
23068
23068
|
: createCommentVNode("v-if", true),
|
|
23069
23069
|
createCommentVNode(" 视频 "),
|
|
23070
23070
|
(__props.item.inputType === 'video')
|
|
23071
|
-
? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
23071
|
+
? (openBlock(), createElementBlock("div", _hoisted_9$2, [
|
|
23072
23072
|
createElementVNode("div", null, [
|
|
23073
23073
|
createElementVNode("video", {
|
|
23074
23074
|
width: style.video(__props.item, __props.myProps).width,
|
|
@@ -23079,7 +23079,7 @@ return (_ctx, _cache) => {
|
|
|
23079
23079
|
createElementVNode("source", {
|
|
23080
23080
|
src: video.src,
|
|
23081
23081
|
type: "video/mp4"
|
|
23082
|
-
}, null, 8 /* PROPS */, _hoisted_11
|
|
23082
|
+
}, null, 8 /* PROPS */, _hoisted_11),
|
|
23083
23083
|
createCommentVNode(" MP4/H.264/AAC - 最广泛支持 "),
|
|
23084
23084
|
createElementVNode("source", {
|
|
23085
23085
|
src: video.src,
|
|
@@ -23091,7 +23091,7 @@ return (_ctx, _cache) => {
|
|
|
23091
23091
|
type: "video/ogg"
|
|
23092
23092
|
}, null, 8 /* PROPS */, _hoisted_13),
|
|
23093
23093
|
createCommentVNode(" Ogg/Theora/Vorbis - 较旧的开源格式 ")
|
|
23094
|
-
], 8 /* PROPS */, _hoisted_10$
|
|
23094
|
+
], 8 /* PROPS */, _hoisted_10$1)
|
|
23095
23095
|
]),
|
|
23096
23096
|
createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
|
|
23097
23097
|
(!!__props.item.videoDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
@@ -23270,8 +23270,8 @@ script$g.__file = "src/form/InputBox.vue";
|
|
|
23270
23270
|
|
|
23271
23271
|
const _hoisted_1$d = { key: 0 };
|
|
23272
23272
|
const _hoisted_2$c = ["colspan"];
|
|
23273
|
-
const _hoisted_3$
|
|
23274
|
-
const _hoisted_4$
|
|
23273
|
+
const _hoisted_3$5 = { key: 0 };
|
|
23274
|
+
const _hoisted_4$4 = ["colspan"];
|
|
23275
23275
|
|
|
23276
23276
|
|
|
23277
23277
|
var script$f = {
|
|
@@ -23363,7 +23363,7 @@ return (_ctx, _cache) => {
|
|
|
23363
23363
|
? item2.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue)
|
|
23364
23364
|
: true
|
|
23365
23365
|
)
|
|
23366
|
-
? (openBlock(), createElementBlock("tr", _hoisted_3$
|
|
23366
|
+
? (openBlock(), createElementBlock("tr", _hoisted_3$5, [
|
|
23367
23367
|
(item2.label)
|
|
23368
23368
|
? (openBlock(), createElementBlock("td", {
|
|
23369
23369
|
key: 0,
|
|
@@ -23387,7 +23387,7 @@ return (_ctx, _cache) => {
|
|
|
23387
23387
|
dataBox: __props.dataBox,
|
|
23388
23388
|
item: item2
|
|
23389
23389
|
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23390
|
-
], 12 /* STYLE, PROPS */, _hoisted_4$
|
|
23390
|
+
], 12 /* STYLE, PROPS */, _hoisted_4$4)
|
|
23391
23391
|
]))
|
|
23392
23392
|
: createCommentVNode("v-if", true)
|
|
23393
23393
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -41716,7 +41716,7 @@ var script$6 = {
|
|
|
41716
41716
|
|
|
41717
41717
|
const _hoisted_1$6 = { class: "el-upload__tip" };
|
|
41718
41718
|
const _hoisted_2$6 = ["src"];
|
|
41719
|
-
const _hoisted_3$
|
|
41719
|
+
const _hoisted_3$4 = {
|
|
41720
41720
|
key: 0,
|
|
41721
41721
|
style: {"font-size":"xx-small"}
|
|
41722
41722
|
};
|
|
@@ -41767,7 +41767,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41767
41767
|
_: 1 /* STABLE */
|
|
41768
41768
|
}, 8 /* PROPS */, ["modelValue"]),
|
|
41769
41769
|
(_ctx.fileList.length>0)
|
|
41770
|
-
? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
41770
|
+
? (openBlock(), createElementBlock("div", _hoisted_3$4, toDisplayString("已上传"+_ctx.fileList.length+"个图片"), 1 /* TEXT */))
|
|
41771
41771
|
: createCommentVNode("v-if", true),
|
|
41772
41772
|
(_ctx.fileList.length>0)
|
|
41773
41773
|
? (openBlock(), createBlock(_component_el_button, {
|
|
@@ -41844,7 +41844,6 @@ watch(() => props.myProps.value,
|
|
|
41844
41844
|
noSession: true,
|
|
41845
41845
|
storproName: 'ly0d3.gbt2260code2.init',
|
|
41846
41846
|
});
|
|
41847
|
-
console.log('测试 000', result2);
|
|
41848
41847
|
popup.select.arrCode2 = result2.arrCode2.filter(item => item.code2);
|
|
41849
41848
|
|
|
41850
41849
|
const result6 = await request.ly0.storpro({
|
|
@@ -42158,19 +42157,19 @@ const _hoisted_2$4 = {
|
|
|
42158
42157
|
class: "el-icon-edit",
|
|
42159
42158
|
style: {"color":"blue"}
|
|
42160
42159
|
};
|
|
42161
|
-
const _hoisted_3$
|
|
42162
|
-
const _hoisted_4$
|
|
42160
|
+
const _hoisted_3$3 = { key: 1 };
|
|
42161
|
+
const _hoisted_4$3 = {
|
|
42163
42162
|
key: 0,
|
|
42164
42163
|
class: "el-icon-edit",
|
|
42165
42164
|
style: {"color":"blue"}
|
|
42166
42165
|
};
|
|
42167
|
-
const _hoisted_5$
|
|
42166
|
+
const _hoisted_5$3 = {
|
|
42168
42167
|
key: 0,
|
|
42169
42168
|
class: "value-item"
|
|
42170
42169
|
};
|
|
42171
|
-
const _hoisted_6$
|
|
42172
|
-
const _hoisted_7$
|
|
42173
|
-
const _hoisted_8$
|
|
42170
|
+
const _hoisted_6$3 = { style: {"width":"100%"} };
|
|
42171
|
+
const _hoisted_7$3 = { style: {"width":"50px"} };
|
|
42172
|
+
const _hoisted_8$2 = { class: "select-submit" };
|
|
42174
42173
|
|
|
42175
42174
|
|
|
42176
42175
|
var script$4 = {
|
|
@@ -42234,17 +42233,17 @@ return (_ctx, _cache) => {
|
|
|
42234
42233
|
]),
|
|
42235
42234
|
_cache[2] || (_cache[2] = createElementVNode("td", null, "[未分类]", -1 /* CACHED */))
|
|
42236
42235
|
]))
|
|
42237
|
-
: (openBlock(), createElementBlock("tr", _hoisted_3$
|
|
42236
|
+
: (openBlock(), createElementBlock("tr", _hoisted_3$3, [
|
|
42238
42237
|
createElementVNode("td", null, [
|
|
42239
42238
|
(!__props.myProps.readOnly)
|
|
42240
|
-
? (openBlock(), createElementBlock("i", _hoisted_4$
|
|
42239
|
+
? (openBlock(), createElementBlock("i", _hoisted_4$3))
|
|
42241
42240
|
: createCommentVNode("v-if", true)
|
|
42242
42241
|
]),
|
|
42243
42242
|
createElementVNode("td", null, [
|
|
42244
42243
|
(openBlock(true), createElementBlock(Fragment, null, renderList(value.value, (item, index) => {
|
|
42245
42244
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
42246
42245
|
(!!item)
|
|
42247
|
-
? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
42246
|
+
? (openBlock(), createElementBlock("div", _hoisted_5$3, toDisplayString(item), 1 /* TEXT */))
|
|
42248
42247
|
: createCommentVNode("v-if", true)
|
|
42249
42248
|
], 64 /* STABLE_FRAGMENT */))
|
|
42250
42249
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
@@ -42263,7 +42262,7 @@ return (_ctx, _cache) => {
|
|
|
42263
42262
|
"destroy-on-close": true
|
|
42264
42263
|
}, {
|
|
42265
42264
|
default: withCtx(() => [
|
|
42266
|
-
createElementVNode("table", _hoisted_6$
|
|
42265
|
+
createElementVNode("table", _hoisted_6$3, [
|
|
42267
42266
|
createElementVNode("tbody", null, [
|
|
42268
42267
|
createElementVNode("tr", null, [
|
|
42269
42268
|
createElementVNode("td", null, [
|
|
@@ -42301,7 +42300,7 @@ return (_ctx, _cache) => {
|
|
|
42301
42300
|
]),
|
|
42302
42301
|
createElementVNode("tr", null, [
|
|
42303
42302
|
_cache[4] || (_cache[4] = createElementVNode("td", null, null, -1 /* CACHED */)),
|
|
42304
|
-
createElementVNode("td", _hoisted_7$
|
|
42303
|
+
createElementVNode("td", _hoisted_7$3, [
|
|
42305
42304
|
createVNode(_component_el_button, {
|
|
42306
42305
|
type: "primary",
|
|
42307
42306
|
circle: "",
|
|
@@ -42324,7 +42323,7 @@ return (_ctx, _cache) => {
|
|
|
42324
42323
|
])
|
|
42325
42324
|
]),
|
|
42326
42325
|
_cache[6] || (_cache[6] = createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42327
|
-
createElementVNode("div", _hoisted_8$
|
|
42326
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
42328
42327
|
createVNode(_component_el_button, {
|
|
42329
42328
|
type: "danger",
|
|
42330
42329
|
plain: "",
|
|
@@ -42354,17 +42353,17 @@ const _hoisted_2$3 = {
|
|
|
42354
42353
|
class: "el-icon-edit",
|
|
42355
42354
|
style: {"color":"blue"}
|
|
42356
42355
|
};
|
|
42357
|
-
const _hoisted_3$
|
|
42356
|
+
const _hoisted_3$2 = {
|
|
42358
42357
|
key: 0,
|
|
42359
42358
|
class: "el-icon-edit",
|
|
42360
42359
|
style: {"color":"blue"}
|
|
42361
42360
|
};
|
|
42362
|
-
const _hoisted_4$
|
|
42363
|
-
const _hoisted_5$
|
|
42364
|
-
const _hoisted_6$
|
|
42365
|
-
const _hoisted_7$
|
|
42366
|
-
const _hoisted_8$
|
|
42367
|
-
const _hoisted_9$
|
|
42361
|
+
const _hoisted_4$2 = { class: "item-value" };
|
|
42362
|
+
const _hoisted_5$2 = { class: "item-value" };
|
|
42363
|
+
const _hoisted_6$2 = { class: "item-value" };
|
|
42364
|
+
const _hoisted_7$2 = { class: "item-value" };
|
|
42365
|
+
const _hoisted_8$1 = { style: {"width":"100%"} };
|
|
42366
|
+
const _hoisted_9$1 = { class: "select-submit" };
|
|
42368
42367
|
|
|
42369
42368
|
|
|
42370
42369
|
var script$3 = {
|
|
@@ -42455,7 +42454,7 @@ return (_ctx, _cache) => {
|
|
|
42455
42454
|
return (openBlock(), createElementBlock("tr", { key: index }, [
|
|
42456
42455
|
createElementVNode("td", null, [
|
|
42457
42456
|
(!__props.myProps.readOnly && index === 0)
|
|
42458
|
-
? (openBlock(), createElementBlock("i", _hoisted_3$
|
|
42457
|
+
? (openBlock(), createElementBlock("i", _hoisted_3$2))
|
|
42459
42458
|
: createCommentVNode("v-if", true)
|
|
42460
42459
|
]),
|
|
42461
42460
|
createElementVNode("td", null, [
|
|
@@ -42463,19 +42462,19 @@ return (_ctx, _cache) => {
|
|
|
42463
42462
|
createElementVNode("tbody", null, [
|
|
42464
42463
|
createElementVNode("tr", null, [
|
|
42465
42464
|
_cache[3] || (_cache[3] = createElementVNode("td", { class: "item-label" }, "国内行政区划", -1 /* CACHED */)),
|
|
42466
|
-
createElementVNode("td", _hoisted_4$
|
|
42465
|
+
createElementVNode("td", _hoisted_4$2, toDisplayString(item.gbt2260text), 1 /* TEXT */)
|
|
42467
42466
|
]),
|
|
42468
42467
|
createElementVNode("tr", null, [
|
|
42469
42468
|
_cache[4] || (_cache[4] = createElementVNode("td", { class: "item-label" }, "详细地址", -1 /* CACHED */)),
|
|
42470
|
-
createElementVNode("td", _hoisted_5$
|
|
42469
|
+
createElementVNode("td", _hoisted_5$2, toDisplayString(item.address), 1 /* TEXT */)
|
|
42471
42470
|
]),
|
|
42472
42471
|
createElementVNode("tr", null, [
|
|
42473
42472
|
_cache[5] || (_cache[5] = createElementVNode("td", { class: "item-label" }, "联系电话", -1 /* CACHED */)),
|
|
42474
|
-
createElementVNode("td", _hoisted_6$
|
|
42473
|
+
createElementVNode("td", _hoisted_6$2, toDisplayString(item.tel), 1 /* TEXT */)
|
|
42475
42474
|
]),
|
|
42476
42475
|
createElementVNode("tr", null, [
|
|
42477
42476
|
_cache[6] || (_cache[6] = createElementVNode("td", { class: "item-label" }, "联系人", -1 /* CACHED */)),
|
|
42478
|
-
createElementVNode("td", _hoisted_7$
|
|
42477
|
+
createElementVNode("td", _hoisted_7$2, toDisplayString(item.name), 1 /* TEXT */)
|
|
42479
42478
|
])
|
|
42480
42479
|
])
|
|
42481
42480
|
])
|
|
@@ -42495,7 +42494,7 @@ return (_ctx, _cache) => {
|
|
|
42495
42494
|
"destroy-on-close": true
|
|
42496
42495
|
}, {
|
|
42497
42496
|
default: withCtx(() => [
|
|
42498
|
-
createElementVNode("table", _hoisted_8$
|
|
42497
|
+
createElementVNode("table", _hoisted_8$1, [
|
|
42499
42498
|
createElementVNode("tbody", null, [
|
|
42500
42499
|
_cache[11] || (_cache[11] = createElementVNode("tr", null, [
|
|
42501
42500
|
createElementVNode("th", null, "国内行政区划"),
|
|
@@ -42565,7 +42564,7 @@ return (_ctx, _cache) => {
|
|
|
42565
42564
|
])
|
|
42566
42565
|
]),
|
|
42567
42566
|
_cache[13] || (_cache[13] = createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42568
|
-
createElementVNode("div", _hoisted_9$
|
|
42567
|
+
createElementVNode("div", _hoisted_9$1, [
|
|
42569
42568
|
createVNode(_component_el_button, {
|
|
42570
42569
|
type: "danger",
|
|
42571
42570
|
plain: "",
|
|
@@ -42594,70 +42593,59 @@ var _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAA
|
|
|
42594
42593
|
var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAEeRJREFUeF7tnUt2HEcORbM4lbUmUztpe9DuXVjahaSBrJ2YXlOrpyyfLDPVqWJ+4gMgEIGriX0O43sBvAAis6ouE/8gUEjgv//6z+Plcv39er18ePv141PhMHRrSODScG6m7pTAEvjTZXqct3B9vrxDAPo0JgLQp93MVz0H/cPD88/X6+VxCfxlET99+YQfmVtEZkIMJ8Nx2FHuT/utjSIA/ZofAejXdqorTwl8MgBVE5gMjgCYYO5nkpzAv+3qOj399Mend/3skJWuCSAA+MONwP9+/fd8m/+qvj/FgwCcIvLcAAHwbB2Dtd0Cf7q8L54KAShG56EjAuDBCg3WUB34L2u+TNf3b758/tBgC0wpQAABEIDY0xBSgb/sGQHoyfqv14oA9G2/5NVLBz4CkIzedUMEwLV56heXfaufOSUZQCYwZ80RAGcGkVqOduCTAUhZqu04CEBb/uKzWwX+snA+ByBuQtMBEQBT3LqTffvltz/v39PXnZEPAmnz1R4fAdAmbDC+1gVfytLJAFIo+W2DAPi1zenKrNP9rQXxQaBTM7lugAC4Ns/+4lqe+utVIQCdOtDLshGAzuzn4dRHADpzmoPlIgAd2bLFJd8ZHjKAM0K+/44A+LbPbXW3U//h+qfHpSIAHq2SviYEIJ1Vk5Zeav29zSMATdxCbFIEQAyl7EDeav3N3fFRYFmjNxgNAWgA/WxK76f+9/UjAGemdP93BMCZiTxe9O0iQgCceU/+chCAfGYqPTxf9CEAKiZ3MSgC4MAM3aT896zIABx4T90SEIA6ftW9uw3+eecIQLX9Ww+AADS0QFf1/hYnBKCh98hMjQDIcMwapYtHfCk7QgBSKLlugwAYm6fLy74dRnwdmLHzKEyHAChA3Ruy63p/Y1MIgKHzKE2FACiBvR92tOCf94cAGDmP4jQIgCLcZegRgx8BMHAcgykQAGXIowY/AqDsOEbDIwC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wuxMARCB0CMTdfKPgdykA86J4RBg3FqLt3Oq2f4+ri0vArcUhAtFCId5+Wwe/2wxg7QpcDsYLjAg79hD8XQgA9wIRwiHWHjXf7c8l6bYEuN8ImUCuaWnvjsB1erpeLx/efv345GVt3QjA98vBy/X36TI9egHIOiCQQsBLyn+/1q4EYFk82UCKy9HGCwGvwd/NHcCWIREBL+7NOnYJOEz5h8gAeEpA0Lkn0PDlnhw2XZYAXBDmmJi2pgQ6OPXXPIYQAO4GTF2cyXYIeK7194w2lADMm7zdDVwvjzwpIE7NCHR26g+bAXA3YObyTDQT6DjwFwMOlwFwP0BsWhDoMd3f4jK8AHA/YBEOgebo5HY/1SJhBAAhSHUJ2m2flNf3b758/jAanXACgBCM5sKK+xmgxj+jE1YAEIIz1wj89wCBH+YSMNWNebU4ldTA7QIFPgKw48ezEPzzhOfyfmBXZ2trAgEDHwE4CYH5K8keHp5/RggG1YrAQb+2aPg7gBT3JitIodRBG4L+lZEQgEy/RQwygbVuTtAfWgABqHBQxKACnmbXl6Cfp/D09VuaWy4dGwEoJXfXDzEQAlkyzHV6ulyuT8/PD38R8HkAEYA8Xkmtv18g8qnEJF7Zja7T7Us1vX3BZvY+HHRAAAyMsAjCzWl5vJhPnIDPZ5bYAwFIBCXZ7AdBIEv4Ee0q2KnhJb1ueywEQJ9x8gzLPcJLejv2l5oQ6Ml+odkQAdCkKzT2OmPoShxegnxe83JJx6ku5BRCwyAAQiBbDjMLxDz//Obieh23r0bb+pf7wyqrQF6GmwN6+f/59n35f27hW3pC/tx/AwGGn4jHVHwsAAAAAElFTkSuQmCC";
|
|
42595
42594
|
|
|
42596
42595
|
const _hoisted_1$2 = { key: 0 };
|
|
42597
|
-
const _hoisted_2$2 = {
|
|
42598
|
-
key: 0,
|
|
42599
|
-
class: "el-icon-edit",
|
|
42600
|
-
style: {"color":"blue"}
|
|
42601
|
-
};
|
|
42602
|
-
const _hoisted_3$2 = {
|
|
42603
|
-
key: 0,
|
|
42604
|
-
class: "el-icon-edit",
|
|
42605
|
-
style: {"color":"blue"}
|
|
42606
|
-
};
|
|
42607
|
-
const _hoisted_4$2 = {
|
|
42608
|
-
key: 0,
|
|
42609
|
-
class: "value-name"
|
|
42610
|
-
};
|
|
42611
|
-
const _hoisted_5$2 = {
|
|
42612
|
-
key: 1,
|
|
42613
|
-
class: "value-name-empty"
|
|
42614
|
-
};
|
|
42615
|
-
const _hoisted_6$2 = { class: "value-price" };
|
|
42616
|
-
const _hoisted_7$2 = {
|
|
42617
|
-
key: 2,
|
|
42618
|
-
class: "value-member",
|
|
42619
|
-
src: _imports_0$1
|
|
42620
|
-
};
|
|
42621
|
-
const _hoisted_8$1 = {
|
|
42622
|
-
key: 3,
|
|
42623
|
-
class: "value-hot",
|
|
42624
|
-
src: _imports_1
|
|
42625
|
-
};
|
|
42626
|
-
const _hoisted_9$1 = { class: "value-note" };
|
|
42627
|
-
const _hoisted_10$1 = { style: {"width":"100%"} };
|
|
42628
|
-
const _hoisted_11 = { class: "select-submit" };
|
|
42596
|
+
const _hoisted_2$2 = { style: {"width":"100%"} };
|
|
42629
42597
|
|
|
42598
|
+
// 遵循 Vue 3 v-model 规范,使用 modelValue
|
|
42630
42599
|
|
|
42631
42600
|
var script$2 = {
|
|
42632
42601
|
__name: 'index',
|
|
42633
|
-
props:
|
|
42634
|
-
|
|
42602
|
+
props: {
|
|
42603
|
+
// modelValue: 外部 v-model 绑定的值
|
|
42604
|
+
modelValue: {
|
|
42605
|
+
type: Array,
|
|
42606
|
+
default: () => []
|
|
42607
|
+
},
|
|
42608
|
+
myProps: {
|
|
42609
|
+
readOnly: {
|
|
42610
|
+
type: Boolean,
|
|
42611
|
+
default: false
|
|
42612
|
+
},
|
|
42613
|
+
_id: [String, Number] // 允许传入一个 _id 用于回传,可选
|
|
42614
|
+
}
|
|
42615
|
+
|
|
42616
|
+
},
|
|
42617
|
+
emits: ['update:modelValue', 'change'],
|
|
42635
42618
|
setup(__props, { emit: __emit }) {
|
|
42636
42619
|
|
|
42637
42620
|
const props = __props;
|
|
42621
|
+
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
42638
42622
|
const emit = __emit;
|
|
42639
42623
|
|
|
42640
|
-
const value =
|
|
42624
|
+
const value = computed(() => props.modelValue || []);
|
|
42625
|
+
const nameEmpty = ref('[未设置标价名称]');
|
|
42626
|
+
|
|
42641
42627
|
const popup = ref({
|
|
42642
42628
|
visible: false,
|
|
42643
|
-
value:
|
|
42629
|
+
value: []
|
|
42644
42630
|
});
|
|
42645
|
-
const nameEmpty = ref('[未设置标价名称]');
|
|
42646
42631
|
|
|
42647
42632
|
const hdl = {
|
|
42648
42633
|
popup() {
|
|
42649
|
-
if (
|
|
42650
|
-
|
|
42651
|
-
popup.value.value.forEach(i => {
|
|
42652
|
-
i.price = Math.floor(i.price) / 100;
|
|
42653
|
-
});
|
|
42654
|
-
popup.value.visible = true;
|
|
42634
|
+
if (props.myProps.readOnly) {
|
|
42635
|
+
return
|
|
42655
42636
|
}
|
|
42637
|
+
const copiedValue = JSON.parse(JSON.stringify(value.value));
|
|
42638
|
+
popup.value.value = copiedValue.map(item => ({
|
|
42639
|
+
...item,
|
|
42640
|
+
// 价格从“分”转换为“元”
|
|
42641
|
+
price: item.price / 100
|
|
42642
|
+
}));
|
|
42643
|
+
popup.value.visible = true;
|
|
42656
42644
|
},
|
|
42657
42645
|
append() {
|
|
42658
42646
|
popup.value.value.push({
|
|
42659
42647
|
name: '',
|
|
42660
|
-
price: 0,
|
|
42648
|
+
price: 0, // 初始价格为 0 元
|
|
42661
42649
|
member: false,
|
|
42662
42650
|
hot: false,
|
|
42663
42651
|
note: '',
|
|
@@ -42666,23 +42654,71 @@ const hdl = {
|
|
|
42666
42654
|
delete(index) {
|
|
42667
42655
|
popup.value.value.splice(index, 1);
|
|
42668
42656
|
},
|
|
42669
|
-
|
|
42670
|
-
|
|
42671
|
-
|
|
42672
|
-
|
|
42673
|
-
|
|
42674
|
-
emit("get-value", {
|
|
42675
|
-
value: JSON.parse(JSON.stringify(popup.value.value)),
|
|
42676
|
-
_id: props.myProps._id ?? null
|
|
42657
|
+
submit() {
|
|
42658
|
+
const submittingValue = JSON.parse(JSON.stringify(popup.value.value));
|
|
42659
|
+
submittingValue.forEach(item => {
|
|
42660
|
+
// 确保 price 是数字,然后转为“分”
|
|
42661
|
+
item.price = Math.floor(Number(item.price) * 100);
|
|
42677
42662
|
});
|
|
42663
|
+
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
42664
|
+
emit("update:modelValue", submittingValue);
|
|
42678
42665
|
popup.value.visible = false;
|
|
42679
42666
|
},
|
|
42680
42667
|
};
|
|
42681
42668
|
|
|
42669
|
+
const style = reactive({
|
|
42670
|
+
value: {
|
|
42671
|
+
name: {},
|
|
42672
|
+
name_empty: {
|
|
42673
|
+
color: '#919191'
|
|
42674
|
+
},
|
|
42675
|
+
price: {
|
|
42676
|
+
'margin-left': '10px',
|
|
42677
|
+
color: 'blue'
|
|
42678
|
+
},
|
|
42679
|
+
member: {
|
|
42680
|
+
'margin-left': '10px',
|
|
42681
|
+
width: '32px',
|
|
42682
|
+
height: '32px'
|
|
42683
|
+
},
|
|
42684
|
+
hot: {
|
|
42685
|
+
'margin-left': '10px',
|
|
42686
|
+
width: '20px',
|
|
42687
|
+
height: '20px'
|
|
42688
|
+
},
|
|
42689
|
+
note: {
|
|
42690
|
+
'margin-left': '10px'
|
|
42691
|
+
}
|
|
42692
|
+
},
|
|
42693
|
+
input: {
|
|
42694
|
+
name: {
|
|
42695
|
+
width: '200px',
|
|
42696
|
+
'margin-bottom': '10px'
|
|
42697
|
+
},
|
|
42698
|
+
price: {
|
|
42699
|
+
width: '120px'
|
|
42700
|
+
},
|
|
42701
|
+
note: {
|
|
42702
|
+
width: '200px'
|
|
42703
|
+
}
|
|
42704
|
+
},
|
|
42705
|
+
line: {
|
|
42706
|
+
height: '1px',
|
|
42707
|
+
'background-color': '#6a6a6a',
|
|
42708
|
+
'margin-top': '10px',
|
|
42709
|
+
'margin-bottom': '10px'
|
|
42710
|
+
}
|
|
42711
|
+
});
|
|
42712
|
+
|
|
42682
42713
|
return (_ctx, _cache) => {
|
|
42714
|
+
const _component_Edit = resolveComponent("Edit");
|
|
42715
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
42683
42716
|
const _component_el_input = resolveComponent("el-input");
|
|
42717
|
+
const _component_el_input_number = resolveComponent("el-input-number");
|
|
42684
42718
|
const _component_el_switch = resolveComponent("el-switch");
|
|
42719
|
+
const _component_Delete = resolveComponent("Delete");
|
|
42685
42720
|
const _component_el_button = resolveComponent("el-button");
|
|
42721
|
+
const _component_Plus = resolveComponent("Plus");
|
|
42686
42722
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
42687
42723
|
|
|
42688
42724
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -42694,34 +42730,74 @@ return (_ctx, _cache) => {
|
|
|
42694
42730
|
? (openBlock(), createElementBlock("tr", _hoisted_1$2, [
|
|
42695
42731
|
createElementVNode("td", null, [
|
|
42696
42732
|
(!__props.myProps.readOnly)
|
|
42697
|
-
? (openBlock(),
|
|
42733
|
+
? (openBlock(), createBlock(_component_el_icon, {
|
|
42734
|
+
key: 0,
|
|
42735
|
+
class: "edit-icon",
|
|
42736
|
+
size: 16,
|
|
42737
|
+
color: "blue"
|
|
42738
|
+
}, {
|
|
42739
|
+
default: withCtx(() => [
|
|
42740
|
+
createVNode(_component_Edit)
|
|
42741
|
+
]),
|
|
42742
|
+
_: 1 /* STABLE */
|
|
42743
|
+
}))
|
|
42698
42744
|
: createCommentVNode("v-if", true)
|
|
42699
42745
|
]),
|
|
42700
42746
|
_cache[2] || (_cache[2] = createElementVNode("td", null, "[未标价]", -1 /* CACHED */))
|
|
42701
42747
|
]))
|
|
42702
42748
|
: createCommentVNode("v-if", true),
|
|
42703
42749
|
(openBlock(true), createElementBlock(Fragment, null, renderList(value.value, (item, index) => {
|
|
42704
|
-
return (openBlock(), createElementBlock("tr",
|
|
42750
|
+
return (openBlock(), createElementBlock("tr", { key: index }, [
|
|
42705
42751
|
createElementVNode("td", null, [
|
|
42706
42752
|
(!__props.myProps.readOnly && index === 0)
|
|
42707
|
-
? (openBlock(),
|
|
42753
|
+
? (openBlock(), createBlock(_component_el_icon, {
|
|
42754
|
+
key: 0,
|
|
42755
|
+
class: "edit-icon",
|
|
42756
|
+
size: 16,
|
|
42757
|
+
color: "blue"
|
|
42758
|
+
}, {
|
|
42759
|
+
default: withCtx(() => [
|
|
42760
|
+
createVNode(_component_Edit)
|
|
42761
|
+
]),
|
|
42762
|
+
_: 1 /* STABLE */
|
|
42763
|
+
}))
|
|
42708
42764
|
: createCommentVNode("v-if", true)
|
|
42709
42765
|
]),
|
|
42710
42766
|
createElementVNode("td", null, [
|
|
42711
42767
|
(!!item.name)
|
|
42712
|
-
? (openBlock(), createElementBlock("span",
|
|
42713
|
-
|
|
42714
|
-
|
|
42768
|
+
? (openBlock(), createElementBlock("span", {
|
|
42769
|
+
key: 0,
|
|
42770
|
+
style: normalizeStyle(style.value.name)
|
|
42771
|
+
}, toDisplayString(item.name), 5 /* TEXT, STYLE */))
|
|
42772
|
+
: (openBlock(), createElementBlock("span", {
|
|
42773
|
+
key: 1,
|
|
42774
|
+
style: normalizeStyle(style.value.name_empty)
|
|
42775
|
+
}, toDisplayString(nameEmpty.value), 5 /* TEXT, STYLE */)),
|
|
42776
|
+
createElementVNode("span", {
|
|
42777
|
+
style: normalizeStyle(style.value.price)
|
|
42778
|
+
}, "¥" + toDisplayString((item.price / 100).toFixed(2)), 5 /* TEXT, STYLE */),
|
|
42715
42779
|
(!!item.member)
|
|
42716
|
-
? (openBlock(), createElementBlock("img",
|
|
42780
|
+
? (openBlock(), createElementBlock("img", {
|
|
42781
|
+
key: 2,
|
|
42782
|
+
style: normalizeStyle(style.value.member),
|
|
42783
|
+
src: _imports_0$1,
|
|
42784
|
+
alt: "会员"
|
|
42785
|
+
}, null, 4 /* STYLE */))
|
|
42717
42786
|
: createCommentVNode("v-if", true),
|
|
42718
42787
|
(!!item.hot)
|
|
42719
|
-
? (openBlock(), createElementBlock("img",
|
|
42788
|
+
? (openBlock(), createElementBlock("img", {
|
|
42789
|
+
key: 3,
|
|
42790
|
+
style: normalizeStyle(style.value.hot),
|
|
42791
|
+
src: _imports_1,
|
|
42792
|
+
alt: "热点"
|
|
42793
|
+
}, null, 4 /* STYLE */))
|
|
42720
42794
|
: createCommentVNode("v-if", true),
|
|
42721
|
-
createElementVNode("span",
|
|
42795
|
+
createElementVNode("span", {
|
|
42796
|
+
style: normalizeStyle(style.value.note)
|
|
42797
|
+
}, toDisplayString(item.note || ''), 5 /* TEXT, STYLE */)
|
|
42722
42798
|
])
|
|
42723
42799
|
]))
|
|
42724
|
-
}),
|
|
42800
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
42725
42801
|
])
|
|
42726
42802
|
]),
|
|
42727
42803
|
createVNode(_component_el_dialog, {
|
|
@@ -42735,33 +42811,36 @@ return (_ctx, _cache) => {
|
|
|
42735
42811
|
"destroy-on-close": true
|
|
42736
42812
|
}, {
|
|
42737
42813
|
default: withCtx(() => [
|
|
42738
|
-
createElementVNode("table",
|
|
42814
|
+
createElementVNode("table", _hoisted_2$2, [
|
|
42739
42815
|
createElementVNode("tbody", null, [
|
|
42740
|
-
_cache[
|
|
42816
|
+
_cache[4] || (_cache[4] = createElementVNode("tr", null, [
|
|
42741
42817
|
createElementVNode("th", null, "标价名称"),
|
|
42742
|
-
createElementVNode("th", null, "
|
|
42818
|
+
createElementVNode("th", null, "单价(元)"),
|
|
42743
42819
|
createElementVNode("th", null, "会员标注"),
|
|
42744
42820
|
createElementVNode("th", null, "热点标注"),
|
|
42745
42821
|
createElementVNode("th", null, "备注"),
|
|
42746
42822
|
createElementVNode("th")
|
|
42747
42823
|
], -1 /* CACHED */)),
|
|
42748
42824
|
(openBlock(true), createElementBlock(Fragment, null, renderList(popup.value.value, (item, index) => {
|
|
42749
|
-
return (openBlock(), createElementBlock("tr",
|
|
42750
|
-
createElementVNode("
|
|
42825
|
+
return (openBlock(), createElementBlock("tr", { key: index }, [
|
|
42826
|
+
createElementVNode("td", null, [
|
|
42751
42827
|
createVNode(_component_el_input, {
|
|
42752
|
-
|
|
42828
|
+
style: normalizeStyle(style.input.name),
|
|
42753
42829
|
modelValue: item.name,
|
|
42754
42830
|
"onUpdate:modelValue": $event => ((item.name) = $event)
|
|
42755
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42831
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42756
42832
|
]),
|
|
42757
|
-
createElementVNode("
|
|
42758
|
-
createVNode(
|
|
42759
|
-
|
|
42833
|
+
createElementVNode("td", null, [
|
|
42834
|
+
createVNode(_component_el_input_number, {
|
|
42835
|
+
style: normalizeStyle(style.input.price),
|
|
42760
42836
|
modelValue: item.price,
|
|
42761
|
-
"onUpdate:modelValue": $event => ((item.price) = $event)
|
|
42762
|
-
|
|
42837
|
+
"onUpdate:modelValue": $event => ((item.price) = $event),
|
|
42838
|
+
min: 0,
|
|
42839
|
+
precision: 2,
|
|
42840
|
+
"controls-position": "right"
|
|
42841
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42763
42842
|
]),
|
|
42764
|
-
createElementVNode("
|
|
42843
|
+
createElementVNode("td", null, [
|
|
42765
42844
|
createVNode(_component_el_switch, {
|
|
42766
42845
|
modelValue: item.member,
|
|
42767
42846
|
"onUpdate:modelValue": $event => ((item.member) = $event),
|
|
@@ -42771,7 +42850,7 @@ return (_ctx, _cache) => {
|
|
|
42771
42850
|
"inactive-value": false
|
|
42772
42851
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42773
42852
|
]),
|
|
42774
|
-
createElementVNode("
|
|
42853
|
+
createElementVNode("td", null, [
|
|
42775
42854
|
createVNode(_component_el_switch, {
|
|
42776
42855
|
modelValue: item.hot,
|
|
42777
42856
|
"onUpdate:modelValue": $event => ((item.hot) = $event),
|
|
@@ -42781,51 +42860,67 @@ return (_ctx, _cache) => {
|
|
|
42781
42860
|
"inactive-value": false
|
|
42782
42861
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42783
42862
|
]),
|
|
42784
|
-
createElementVNode("
|
|
42863
|
+
createElementVNode("td", null, [
|
|
42785
42864
|
createVNode(_component_el_input, {
|
|
42786
|
-
|
|
42865
|
+
style: normalizeStyle(style.input.note),
|
|
42787
42866
|
modelValue: item.note,
|
|
42788
42867
|
"onUpdate:modelValue": $event => ((item.note) = $event)
|
|
42789
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42868
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42790
42869
|
]),
|
|
42791
|
-
createElementVNode("
|
|
42870
|
+
createElementVNode("td", null, [
|
|
42792
42871
|
createVNode(_component_el_button, {
|
|
42793
42872
|
type: "danger",
|
|
42794
|
-
icon: "el-icon-delete",
|
|
42795
42873
|
circle: "",
|
|
42796
42874
|
size: "small",
|
|
42797
42875
|
onClick: $event => (hdl.delete(index))
|
|
42798
|
-
},
|
|
42876
|
+
}, {
|
|
42877
|
+
default: withCtx(() => [
|
|
42878
|
+
createVNode(_component_el_icon, null, {
|
|
42879
|
+
default: withCtx(() => [
|
|
42880
|
+
createVNode(_component_Delete)
|
|
42881
|
+
]),
|
|
42882
|
+
_: 1 /* STABLE */
|
|
42883
|
+
})
|
|
42884
|
+
]),
|
|
42885
|
+
_: 1 /* STABLE */
|
|
42886
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42799
42887
|
])
|
|
42800
42888
|
]))
|
|
42801
|
-
}),
|
|
42889
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
42802
42890
|
createElementVNode("tr", null, [
|
|
42803
|
-
_cache[3] || (_cache[3] = createElementVNode("
|
|
42804
|
-
|
|
42805
|
-
_cache[5] || (_cache[5] = createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42806
|
-
_cache[6] || (_cache[6] = createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42807
|
-
_cache[7] || (_cache[7] = createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42808
|
-
createElementVNode("th", null, [
|
|
42891
|
+
_cache[3] || (_cache[3] = createElementVNode("td", { colspan: "5" }, null, -1 /* CACHED */)),
|
|
42892
|
+
createElementVNode("td", null, [
|
|
42809
42893
|
createVNode(_component_el_button, {
|
|
42810
42894
|
type: "primary",
|
|
42811
|
-
icon: "el-icon-plus",
|
|
42812
42895
|
circle: "",
|
|
42813
42896
|
size: "small",
|
|
42814
42897
|
style: {"margin-top":"20px"},
|
|
42815
42898
|
onClick: hdl.append
|
|
42816
|
-
},
|
|
42899
|
+
}, {
|
|
42900
|
+
default: withCtx(() => [
|
|
42901
|
+
createVNode(_component_el_icon, null, {
|
|
42902
|
+
default: withCtx(() => [
|
|
42903
|
+
createVNode(_component_Plus)
|
|
42904
|
+
]),
|
|
42905
|
+
_: 1 /* STABLE */
|
|
42906
|
+
})
|
|
42907
|
+
]),
|
|
42908
|
+
_: 1 /* STABLE */
|
|
42909
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42817
42910
|
])
|
|
42818
42911
|
])
|
|
42819
42912
|
])
|
|
42820
42913
|
]),
|
|
42821
|
-
|
|
42822
|
-
|
|
42914
|
+
createElementVNode("div", {
|
|
42915
|
+
style: normalizeStyle(style.line)
|
|
42916
|
+
}, null, 4 /* STYLE */),
|
|
42917
|
+
createElementVNode("div", null, [
|
|
42823
42918
|
createVNode(_component_el_button, {
|
|
42824
42919
|
type: "danger",
|
|
42825
42920
|
plain: "",
|
|
42826
42921
|
onClick: hdl.submit
|
|
42827
42922
|
}, {
|
|
42828
|
-
default: withCtx(() => [...(_cache[
|
|
42923
|
+
default: withCtx(() => [...(_cache[5] || (_cache[5] = [
|
|
42829
42924
|
createTextVNode("确认", -1 /* CACHED */)
|
|
42830
42925
|
]))]),
|
|
42831
42926
|
_: 1 /* STABLE */
|