@dcloudio/uni-mp-toutiao 3.0.0-alpha-4000020240127001 → 3.0.0-alpha-4000120240201002
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/uni.api.esm.js +0 -5
- package/dist/uni.mp.esm.js +15 -0
- package/package.json +6 -6
package/dist/uni.api.esm.js
CHANGED
|
@@ -379,16 +379,11 @@ function invokeSuccess(id, name, res) {
|
|
|
379
379
|
const result = {
|
|
380
380
|
errMsg: name + ':ok',
|
|
381
381
|
};
|
|
382
|
-
//#if _X_
|
|
383
|
-
result.errSubject = name;
|
|
384
|
-
//#endif
|
|
385
382
|
return invokeCallback(id, extend((res || {}), result));
|
|
386
383
|
}
|
|
387
384
|
function invokeFail(id, name, errMsg, errRes = {}) {
|
|
388
385
|
const apiErrMsg = name + ':fail' + (errMsg ? ' ' + errMsg : '');
|
|
389
|
-
//#if !_X_
|
|
390
386
|
delete errRes.errCode;
|
|
391
|
-
//#endif
|
|
392
387
|
return invokeCallback(id, typeof UniError !== 'undefined'
|
|
393
388
|
? typeof errRes.errCode !== 'undefined'
|
|
394
389
|
? new UniError(name, errRes.errCode, apiErrMsg)
|
package/dist/uni.mp.esm.js
CHANGED
|
@@ -458,6 +458,21 @@ function initDefaultProps(options, isBehavior = false) {
|
|
|
458
458
|
}
|
|
459
459
|
function initVirtualHostProps(options) {
|
|
460
460
|
const properties = {};
|
|
461
|
+
{
|
|
462
|
+
if ((options && options.virtualHost)) {
|
|
463
|
+
{
|
|
464
|
+
options.applyFragment = true;
|
|
465
|
+
}
|
|
466
|
+
properties.virtualHostStyle = {
|
|
467
|
+
type: null,
|
|
468
|
+
value: '',
|
|
469
|
+
};
|
|
470
|
+
properties.virtualHostClass = {
|
|
471
|
+
type: null,
|
|
472
|
+
value: '',
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
}
|
|
461
476
|
return properties;
|
|
462
477
|
}
|
|
463
478
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-mp-toutiao",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-4000120240201002",
|
|
4
4
|
"description": "uni-app mp-toutiao",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-
|
|
30
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
31
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
32
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-4000120240201002",
|
|
29
|
+
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-4000120240201002",
|
|
30
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-4000120240201002",
|
|
31
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-4000120240201002",
|
|
32
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-4000120240201002",
|
|
33
33
|
"@vue/shared": "3.3.11",
|
|
34
34
|
"@vue/compiler-core": "3.3.11"
|
|
35
35
|
}
|