提交 b622147f 编写于 作者: fxy060608's avatar fxy060608

chore(e2e): add windows

上级 8cf16992
......@@ -16,6 +16,8 @@ jobs:
include:
- os: macos-latest
node_version: 12
- os: windows-latest
node_version: 12
fail-fast: false
name: 'e2e: node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
......
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value;
var __spreadValues = (a2, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a2, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a2, prop, b[prop]);
}
return a2;
};
Object.defineProperty(exports, "__esModule", {value: true});
exports[Symbol.toStringTag] = "Module";
var shared = require("@vue/shared");
......@@ -2197,7 +2213,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createBlock("uni-canvas", vue.mergeProps({
"canvas-id": $props.canvasId,
"disable-scroll": $props.disableScroll
}, {...$setup.Attrs, ...$setup.ExcludeAttrs}, vue.toHandlers($options._listeners)), [
}, __spreadValues(__spreadValues({}, $setup.Attrs), $setup.ExcludeAttrs), vue.toHandlers($options._listeners)), [
vue.createVNode("canvas", _hoisted_1$5, null, 512),
vue.createVNode("div", _hoisted_2$2, [
vue.renderSlot(_ctx.$slots, "default")
......@@ -4691,7 +4707,10 @@ var index$e = /* @__PURE__ */ vue.defineComponent({
});
function useProvideRadioGroup(props2, trigger) {
const fields = [];
const getFieldsValue = () => fields.find((field) => field.value.radioChecked)?.value.value;
const getFieldsValue = () => {
var _a;
return (_a = fields.find((field) => field.value.radioChecked)) == null ? void 0 : _a.value.value;
};
vue.provide(uniRadioGroupKey, {
addField(field) {
fields.push(field);
......
......@@ -94,7 +94,7 @@ export default defineConfig({
vueJsx({ optimize: true, isCustomElement }),
],
build: {
target: 'es2020', // keep import.meta...
target: FORMAT === 'cjs' ? 'modules' : 'es2020', // keep import.meta...
emptyOutDir: FORMAT === 'es',
minify: false,
lib: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册