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

chore: build

上级 0ce42fd4
{"version":3,"sources":["/Users/guoshengqiang/Documents/uni-app-next/packages/playground/uts/uni_modules/test-uniplugin/app-android/index.uts","/Users/guoshengqiang/Documents/uni-app-next/packages/playground/uts/uni_modules/test-uniplugin/app-android/login.uts"],"sourcesContent":["import Log from 'android.util.Log'\nimport { login } from './login.uts'\nexport class User {\n async login(name: string, pwd: string) {\n login(name, pwd)\n Log.info('123')\n }\n}\n","export function login(name: string, pwd: string) {\n return { name, pwd }\n}\n"],"names":[],"mappings":";;;AAAA,OAAgB,gBAAkB,CAAA;ACA3B,IAAS,KAAK,CAAC,IAAY,EAAN,MAAM,EAAE,GAAW,EAAN,MAAM,iBAAE;IAC/C,OAAO;QAAE,IAAA,IAAI,GAAJ,IAAI;QAAE,IAAA,GAAG,GAAH,GAAG;KAAE,CAAA;;ADCf,WAAM,IAAI;IACf,iBAAM,KAAK,CAAC,IAAY,EAAN,MAAM,EAAE,GAAW,EAAN,MAAM,8CAAE;QACrC,MAAM,IAAI,EAAE,GAAG,CAAC;QAChB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;;CAElB"} {"version":3,"sources":["/Users/fxy/Projects/GitHub/uni-app/uni-app-next/packages/playground/uts/uni_modules/test-uniplugin/app-android/index.uts","/Users/fxy/Projects/GitHub/uni-app/uni-app-next/packages/playground/uts/uni_modules/test-uniplugin/app-android/login.uts"],"sourcesContent":["import Log from 'android.util.Log'\nimport { login } from './login.uts'\nexport class User {\n async login(name: string, pwd: string) {\n login(name, pwd)\n Log.info('123')\n }\n}\n","export function login(name: string, pwd: string) {\n return { name, pwd }\n}\n"],"names":[],"mappings":";;;AAAA,OAAgB,gBAAkB,CAAA;ACA3B,IAAS,KAAK,CAAC,IAAY,EAAN,MAAM,EAAE,GAAW,EAAN,MAAM,iBAAE;IAC/C,OAAO;QAAE,IAAA,IAAI,GAAJ,IAAI;QAAE,IAAA,GAAG,GAAH,GAAG;KAAE,CAAA;;ADCf,WAAM,IAAI;IACf,iBAAM,KAAK,CAAC,IAAY,EAAN,MAAM,EAAE,GAAW,EAAN,MAAM,8CAAE;QACrC,MAAM,IAAI,EAAE,GAAG,CAAC;QAChB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;;CAElB"}
\ No newline at end of file \ No newline at end of file
...@@ -239,7 +239,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro ...@@ -239,7 +239,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro
} }
else if (shared.hasOwn(staticMethods, name)) { else if (shared.hasOwn(staticMethods, name)) {
// 静态方法 // 静态方法
target[name] = initUtsStaticMethod(!!staticMethods[name].async, shared.extend({ name }, baseOptions)); target[name] = initUtsStaticMethod(!!staticMethods[name].async, shared.extend({ name, companion: true }, baseOptions));
} }
else if (props.includes(name)) { else if (props.includes(name)) {
// 实例属性 // 实例属性
...@@ -247,7 +247,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro ...@@ -247,7 +247,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro
} }
else if (staticProps.includes(name)) { else if (staticProps.includes(name)) {
// 静态属性 // 静态属性
return invokePropGetter(shared.extend({ name: name }, baseOptions)); return invokePropGetter(shared.extend({ name: name, companion: true }, baseOptions));
} }
} }
return target[name]; return target[name];
......
...@@ -180,6 +180,10 @@ declare interface ProxyBaseOptions { ...@@ -180,6 +180,10 @@ declare interface ProxyBaseOptions {
* 属性名或方法名 * 属性名或方法名
*/ */
name: string; name: string;
/**
* 是否是伴生对象
*/
companion?: boolean;
} }
declare interface ProxyClassOptions { declare interface ProxyClassOptions {
......
...@@ -207,7 +207,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro ...@@ -207,7 +207,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro
} }
else if (hasOwn(staticMethods, name)) { else if (hasOwn(staticMethods, name)) {
// 静态方法 // 静态方法
target[name] = initUtsStaticMethod(!!staticMethods[name].async, extend({ name }, baseOptions)); target[name] = initUtsStaticMethod(!!staticMethods[name].async, extend({ name, companion: true }, baseOptions));
} }
else if (props.includes(name)) { else if (props.includes(name)) {
// 实例属性 // 实例属性
...@@ -215,7 +215,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro ...@@ -215,7 +215,7 @@ function initUtsProxyClass({ package: pkg, class: cls, methods, props, staticPro
} }
else if (staticProps.includes(name)) { else if (staticProps.includes(name)) {
// 静态属性 // 静态属性
return invokePropGetter(extend({ name: name }, baseOptions)); return invokePropGetter(extend({ name: name, companion: true }, baseOptions));
} }
} }
return target[name]; return target[name];
......
...@@ -29,6 +29,10 @@ interface ProxyBaseOptions { ...@@ -29,6 +29,10 @@ interface ProxyBaseOptions {
* 属性名或方法名 * 属性名或方法名
*/ */
name: string name: string
/**
* 是否是伴生对象
*/
companion?: boolean
} }
interface ProxyInstanceOptions extends ProxyBaseOptions { interface ProxyInstanceOptions extends ProxyBaseOptions {
...@@ -234,7 +238,7 @@ export function initUtsProxyClass({ ...@@ -234,7 +238,7 @@ export function initUtsProxyClass({
// 静态方法 // 静态方法
target[name] = initUtsStaticMethod( target[name] = initUtsStaticMethod(
!!staticMethods[name].async, !!staticMethods[name].async,
extend({ name }, baseOptions) extend({ name, companion: true }, baseOptions)
) )
} else if (props.includes(name as string)) { } else if (props.includes(name as string)) {
// 实例属性 // 实例属性
...@@ -242,7 +246,7 @@ export function initUtsProxyClass({ ...@@ -242,7 +246,7 @@ export function initUtsProxyClass({
} else if (staticProps.includes(name as string)) { } else if (staticProps.includes(name as string)) {
// 静态属性 // 静态属性
return invokePropGetter( return invokePropGetter(
extend({ name: name as string }, baseOptions) extend({ name: name as string, companion: true }, baseOptions)
) )
} }
} }
......
...@@ -7896,6 +7896,10 @@ const props$8 = { ...@@ -7896,6 +7896,10 @@ const props$8 = {
src: { src: {
type: String, type: String,
default: "" default: ""
},
fullscreen: {
type: Boolean,
default: true
} }
}; };
var index$d = /* @__PURE__ */ defineBuiltInComponent({ var index$d = /* @__PURE__ */ defineBuiltInComponent({
...@@ -7915,7 +7919,9 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -7915,7 +7919,9 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({
}); });
let _resize; let _resize;
return () => { return () => {
return vue.createVNode(vue.Fragment, null, [vue.createVNode("uni-web-view", vue.mergeProps($listeners.value, $excludeAttrs.value, { return vue.createVNode(vue.Fragment, null, [vue.createVNode("uni-web-view", vue.mergeProps({
"class": props2.fullscreen ? "uni-webview--fullscreen" : ""
}, $listeners.value, $excludeAttrs.value, {
"ref": rootRef "ref": rootRef
}), [vue.createVNode(ResizeSensor, { }), [vue.createVNode(ResizeSensor, {
"onResize": _resize "onResize": _resize
...@@ -10700,7 +10706,8 @@ function useState() { ...@@ -10700,7 +10706,8 @@ function useState() {
"--window-margin": value + "px" "--window-margin": value + "px"
})); }));
return { return {
layoutState: layoutState2 layoutState: layoutState2,
windowState: vue.computed(() => ({}))
}; };
} }
const topWindowMediaQuery = vue.ref(false); const topWindowMediaQuery = vue.ref(false);
...@@ -10749,14 +10756,14 @@ function useState() { ...@@ -10749,14 +10756,14 @@ function useState() {
vue.watch(() => layoutState.rightWindowWidth + layoutState.marginWidth, (value) => updateCssVar({ vue.watch(() => layoutState.rightWindowWidth + layoutState.marginWidth, (value) => updateCssVar({
"--window-right": value + "px" "--window-right": value + "px"
})); }));
const windowState = vue.reactive({ const windowState = vue.computed(() => ({
matchTopWindow: layoutState.topWindowMediaQuery, matchTopWindow: layoutState.topWindowMediaQuery,
showTopWindow: layoutState.showTopWindow || layoutState.apiShowTopWindow, showTopWindow: layoutState.showTopWindow || layoutState.apiShowTopWindow,
matchLeftWindow: layoutState.leftWindowMediaQuery, matchLeftWindow: layoutState.leftWindowMediaQuery,
showLeftWindow: layoutState.showLeftWindow || layoutState.apiShowLeftWindow, showLeftWindow: layoutState.showLeftWindow || layoutState.apiShowLeftWindow,
matchRightWindow: layoutState.rightWindowMediaQuery, matchRightWindow: layoutState.rightWindowMediaQuery,
showRightWindow: layoutState.showRightWindow || layoutState.apiShowRightWindow showRightWindow: layoutState.showRightWindow || layoutState.apiShowRightWindow
}); }));
return { return {
layoutState, layoutState,
windowState windowState
...@@ -10767,9 +10774,9 @@ function createLayoutTsx(keepAliveRoute, layoutState, windowState, topWindow, le ...@@ -10767,9 +10774,9 @@ function createLayoutTsx(keepAliveRoute, layoutState, windowState, topWindow, le
if (!__UNI_FEATURE_RESPONSIVE__) { if (!__UNI_FEATURE_RESPONSIVE__) {
return routerVNode; return routerVNode;
} }
const topWindowTsx = __UNI_FEATURE_TOPWINDOW__ ? createTopWindowTsx(topWindow, layoutState, windowState) : null; const topWindowTsx = __UNI_FEATURE_TOPWINDOW__ ? createTopWindowTsx(topWindow, layoutState, windowState.value) : null;
const leftWindowTsx = __UNI_FEATURE_LEFTWINDOW__ ? createLeftWindowTsx(leftWindow, layoutState, windowState) : null; const leftWindowTsx = __UNI_FEATURE_LEFTWINDOW__ ? createLeftWindowTsx(leftWindow, layoutState, windowState.value) : null;
const rightWindowTsx = __UNI_FEATURE_RIGHTWINDOW__ ? createRightWindowTsx(rightWindow, layoutState, windowState) : null; const rightWindowTsx = __UNI_FEATURE_RIGHTWINDOW__ ? createRightWindowTsx(rightWindow, layoutState, windowState.value) : null;
return vue.createVNode("uni-layout", { return vue.createVNode("uni-layout", {
"class": { "class": {
"uni-app--showtopwindow": __UNI_FEATURE_TOPWINDOW__ && layoutState.showTopWindow, "uni-app--showtopwindow": __UNI_FEATURE_TOPWINDOW__ && layoutState.showTopWindow,
......
...@@ -15304,6 +15304,10 @@ const props$f = { ...@@ -15304,6 +15304,10 @@ const props$f = {
src: { src: {
type: String, type: String,
default: "" default: ""
},
fullscreen: {
type: Boolean,
default: true
} }
}; };
var index$d = /* @__PURE__ */ defineBuiltInComponent({ var index$d = /* @__PURE__ */ defineBuiltInComponent({
...@@ -15335,13 +15339,18 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -15335,13 +15339,18 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({
watchEffect(() => { watchEffect(() => {
iframe.src = getRealPath(props2.src); iframe.src = getRealPath(props2.src);
}); });
document.body.appendChild(iframe); _resize = useWebViewSize(rootRef, iframe, props2.fullscreen);
iframeRef.value = iframe; if (props2.fullscreen) {
_resize = useWebViewSize(rootRef, iframeRef); document.body.appendChild(iframe);
} else {
iframeRef.value = iframe;
}
}; };
renderIframe(); renderIframe();
onMounted(() => { onMounted(() => {
var _a;
_resize(); _resize();
!props2.fullscreen && ((_a = rootRef.value) == null ? void 0 : _a.appendChild(iframeRef.value));
}); });
onActivated(() => { onActivated(() => {
iframeRef.value && (iframeRef.value.style.display = "block"); iframeRef.value && (iframeRef.value.style.display = "block");
...@@ -15350,10 +15359,12 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -15350,10 +15359,12 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({
iframeRef.value && (iframeRef.value.style.display = "none"); iframeRef.value && (iframeRef.value.style.display = "none");
}); });
onBeforeUnmount(() => { onBeforeUnmount(() => {
document.body.removeChild(iframeRef.value); iframeRef.value && document.body.removeChild(iframeRef.value);
}); });
return () => { return () => {
return createVNode(Fragment, null, [createVNode("uni-web-view", mergeProps($listeners.value, $excludeAttrs.value, { return createVNode(Fragment, null, [createVNode("uni-web-view", mergeProps({
"class": props2.fullscreen ? "uni-webview--fullscreen" : ""
}, $listeners.value, $excludeAttrs.value, {
"ref": rootRef "ref": rootRef
}), [createVNode(ResizeSensor, { }), [createVNode(ResizeSensor, {
"onResize": _resize "onResize": _resize
...@@ -15361,23 +15372,31 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -15361,23 +15372,31 @@ var index$d = /* @__PURE__ */ defineBuiltInComponent({
}; };
} }
}); });
function useWebViewSize(rootRef, iframeRef) { function useWebViewSize(rootRef, iframe, fullscreen) {
const _resize = () => { const _resize = () => {
const { var _a, _b;
top, if (fullscreen) {
left, const {
width, top,
height left,
} = rootRef.value.getBoundingClientRect(); width,
iframeRef.value && updateElementStyle(iframeRef.value, { height
position: "absolute", } = rootRef.value.getBoundingClientRect();
display: "block", updateElementStyle(iframe, {
border: "0", position: "absolute",
top: top + "px", display: "block",
left: left + "px", border: "0",
width: width + "px", top: top + "px",
height: height + "px" left: left + "px",
}); width: width + "px",
height: height + "px"
});
} else {
updateElementStyle(iframe, {
width: ((_a = rootRef.value) == null ? void 0 : _a.style.width) || "300px",
height: ((_b = rootRef.value) == null ? void 0 : _b.style.height) || "150px"
});
}
}; };
return _resize; return _resize;
} }
...@@ -20140,7 +20159,8 @@ function useState() { ...@@ -20140,7 +20159,8 @@ function useState() {
"--window-margin": value + "px" "--window-margin": value + "px"
})); }));
return { return {
layoutState: layoutState2 layoutState: layoutState2,
windowState: computed(() => ({}))
}; };
} }
const topWindowMediaQuery = ref(false); const topWindowMediaQuery = ref(false);
...@@ -20193,14 +20213,14 @@ function useState() { ...@@ -20193,14 +20213,14 @@ function useState() {
watch(() => layoutState.rightWindowWidth + layoutState.marginWidth, (value) => updateCssVar({ watch(() => layoutState.rightWindowWidth + layoutState.marginWidth, (value) => updateCssVar({
"--window-right": value + "px" "--window-right": value + "px"
})); }));
const windowState = reactive({ const windowState = computed(() => ({
matchTopWindow: layoutState.topWindowMediaQuery, matchTopWindow: layoutState.topWindowMediaQuery,
showTopWindow: layoutState.showTopWindow || layoutState.apiShowTopWindow, showTopWindow: layoutState.showTopWindow || layoutState.apiShowTopWindow,
matchLeftWindow: layoutState.leftWindowMediaQuery, matchLeftWindow: layoutState.leftWindowMediaQuery,
showLeftWindow: layoutState.showLeftWindow || layoutState.apiShowLeftWindow, showLeftWindow: layoutState.showLeftWindow || layoutState.apiShowLeftWindow,
matchRightWindow: layoutState.rightWindowMediaQuery, matchRightWindow: layoutState.rightWindowMediaQuery,
showRightWindow: layoutState.showRightWindow || layoutState.apiShowRightWindow showRightWindow: layoutState.showRightWindow || layoutState.apiShowRightWindow
}); }));
return { return {
layoutState, layoutState,
windowState windowState
...@@ -20211,9 +20231,9 @@ function createLayoutTsx(keepAliveRoute, layoutState, windowState, topWindow, le ...@@ -20211,9 +20231,9 @@ function createLayoutTsx(keepAliveRoute, layoutState, windowState, topWindow, le
if (!__UNI_FEATURE_RESPONSIVE__) { if (!__UNI_FEATURE_RESPONSIVE__) {
return routerVNode; return routerVNode;
} }
const topWindowTsx = __UNI_FEATURE_TOPWINDOW__ ? createTopWindowTsx(topWindow, layoutState, windowState) : null; const topWindowTsx = __UNI_FEATURE_TOPWINDOW__ ? createTopWindowTsx(topWindow, layoutState, windowState.value) : null;
const leftWindowTsx = __UNI_FEATURE_LEFTWINDOW__ ? createLeftWindowTsx(leftWindow, layoutState, windowState) : null; const leftWindowTsx = __UNI_FEATURE_LEFTWINDOW__ ? createLeftWindowTsx(leftWindow, layoutState, windowState.value) : null;
const rightWindowTsx = __UNI_FEATURE_RIGHTWINDOW__ ? createRightWindowTsx(rightWindow, layoutState, windowState) : null; const rightWindowTsx = __UNI_FEATURE_RIGHTWINDOW__ ? createRightWindowTsx(rightWindow, layoutState, windowState.value) : null;
return createVNode("uni-layout", { return createVNode("uni-layout", {
"class": { "class": {
"uni-app--showtopwindow": __UNI_FEATURE_TOPWINDOW__ && layoutState.showTopWindow, "uni-app--showtopwindow": __UNI_FEATURE_TOPWINDOW__ && layoutState.showTopWindow,
......
...@@ -65,9 +65,9 @@ export default /*#__PURE__*/ defineBuiltInComponent({ ...@@ -65,9 +65,9 @@ export default /*#__PURE__*/ defineBuiltInComponent({
iframe.src = getRealPath(props.src) iframe.src = getRealPath(props.src)
}) })
_resize = useWebViewSize(rootRef, iframe, props.fullscreen) _resize = useWebViewSize(rootRef, iframe, props.fullscreen)
if(props.fullscreen){ if (props.fullscreen) {
document.body.appendChild(iframe) document.body.appendChild(iframe)
}else{ } else {
iframeRef.value = iframe iframeRef.value = iframe
} }
} }
...@@ -94,7 +94,7 @@ export default /*#__PURE__*/ defineBuiltInComponent({ ...@@ -94,7 +94,7 @@ export default /*#__PURE__*/ defineBuiltInComponent({
return ( return (
<> <>
<uni-web-view <uni-web-view
class={props.fullscreen ? 'uni-webview--fullscreen': ''} class={props.fullscreen ? 'uni-webview--fullscreen' : ''}
{...$listeners.value} {...$listeners.value}
{...$excludeAttrs.value} {...$excludeAttrs.value}
ref={rootRef} ref={rootRef}
...@@ -117,10 +117,15 @@ export default /*#__PURE__*/ defineBuiltInComponent({ ...@@ -117,10 +117,15 @@ export default /*#__PURE__*/ defineBuiltInComponent({
}, },
}) })
function useWebViewSize(rootRef: RootRef, iframe: HTMLIFrameElement, fullscreen:boolean) { function useWebViewSize(
rootRef: RootRef,
iframe: HTMLIFrameElement,
fullscreen: boolean
) {
const _resize = () => { const _resize = () => {
if(fullscreen){ if (fullscreen) {
const { top, left, width, height } = rootRef.value!.getBoundingClientRect() const { top, left, width, height } =
rootRef.value!.getBoundingClientRect()
updateElementStyle(iframe, { updateElementStyle(iframe, {
position: 'absolute', position: 'absolute',
display: 'block', display: 'block',
...@@ -130,7 +135,7 @@ function useWebViewSize(rootRef: RootRef, iframe: HTMLIFrameElement, fullscreen: ...@@ -130,7 +135,7 @@ function useWebViewSize(rootRef: RootRef, iframe: HTMLIFrameElement, fullscreen:
width: width + 'px', width: width + 'px',
height: height + 'px', height: height + 'px',
}) })
}else{ } else {
updateElementStyle(iframe, { updateElementStyle(iframe, {
width: rootRef.value?.style.width || '300px', width: rootRef.value?.style.width || '300px',
height: rootRef.value?.style.height || '150px', height: rootRef.value?.style.height || '150px',
......
...@@ -717,6 +717,7 @@ function createVueComponent(mpType, mpInstance, vueOptions, parent) { ...@@ -717,6 +717,7 @@ function createVueComponent(mpType, mpInstance, vueOptions, parent) {
}, { }, {
mpType, mpType,
mpInstance, mpInstance,
slots: mpInstance.props.uS || {},
parentComponent: parent && parent.$, parentComponent: parent && parent.$,
onBeforeSetup(instance, options) { onBeforeSetup(instance, options) {
initMocks(instance, mpInstance, mocks); initMocks(instance, mpInstance, mocks);
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
"version": "3.0.0-alpha-3050420220803001", "version": "3.0.0-alpha-3050420220803001",
"description": "uni-app mp-alipay", "description": "uni-app mp-alipay",
"main": "dist/index.js", "main": "dist/index.js",
"files": [
"dist",
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git", "url": "git+https://github.com/dcloudio/uni-app.git",
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
"version": "3.0.0-alpha-3050420220803001", "version": "3.0.0-alpha-3050420220803001",
"description": "uni-app mp-kuaishou", "description": "uni-app mp-kuaishou",
"main": "dist/index.js", "main": "dist/index.js",
"files": [
"dist",
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git", "url": "git+https://github.com/dcloudio/uni-app.git",
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
"version": "3.0.0-alpha-3050420220803001", "version": "3.0.0-alpha-3050420220803001",
"description": "uni-app mp-lark", "description": "uni-app mp-lark",
"main": "dist/index.js", "main": "dist/index.js",
"files": [
"dist",
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git", "url": "git+https://github.com/dcloudio/uni-app.git",
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
"version": "3.0.0-alpha-3050420220803001", "version": "3.0.0-alpha-3050420220803001",
"description": "uni-app mp-qq", "description": "uni-app mp-qq",
"main": "dist/index.js", "main": "dist/index.js",
"files": [
"dist",
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git", "url": "git+https://github.com/dcloudio/uni-app.git",
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
"version": "3.0.0-alpha-3050420220803001", "version": "3.0.0-alpha-3050420220803001",
"description": "uni-app mp-toutiao", "description": "uni-app mp-toutiao",
"main": "dist/index.js", "main": "dist/index.js",
"files": [
"dist",
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git", "url": "git+https://github.com/dcloudio/uni-app.git",
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
"version": "3.0.0-alpha-3050420220803001", "version": "3.0.0-alpha-3050420220803001",
"description": "uni-app quickapp-webview", "description": "uni-app quickapp-webview",
"main": "dist/index.js", "main": "dist/index.js",
"files": [
"dist",
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git", "url": "git+https://github.com/dcloudio/uni-app.git",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册