omi-kbone - build mp
This commit is contained in:
parent
f606e28966
commit
e56f7912df
|
@ -174,6 +174,7 @@ var omis_esm = __webpack_require__(0);
|
|||
|
||||
// EXTERNAL MODULE: ./src/components/counter/_index.css
|
||||
var _index = __webpack_require__(1);
|
||||
var _index_default = /*#__PURE__*/__webpack_require__.n(_index);
|
||||
|
||||
// CONCATENATED MODULE: ./src/components/counter/index.js
|
||||
|
||||
|
@ -201,13 +202,18 @@ counter_Counter.store = function (_) {
|
|||
this.update();
|
||||
},
|
||||
clickHandle: function clickHandle() {
|
||||
wx.navigateTo({
|
||||
url: '../log/index?id=1'
|
||||
});
|
||||
if ("undefined" != typeof wx && wx.getSystemInfoSync) {
|
||||
wx.navigateTo({
|
||||
url: '../log/index?id=1'
|
||||
});
|
||||
} else {
|
||||
location.href = 'log.html';
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
counter_Counter.css = _index_default.a;
|
||||
/* harmony default export */ var counter = (counter_Counter);
|
||||
// CONCATENATED MODULE: ./src/index.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createApp; });
|
||||
|
|
|
@ -14,7 +14,7 @@ module.exports = function(window, document) {var navigator = window.navigator;va
|
|||
/* unused harmony export define */
|
||||
/* unused harmony export obaa */
|
||||
/**
|
||||
* omis v1.0.1 http://omijs.org
|
||||
* omis v1.0.3 http://omijs.org
|
||||
* Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.
|
||||
* By dntzhang https://github.com/dntzhang
|
||||
* Github: https://github.com/Tencent/omis
|
||||
|
@ -132,7 +132,7 @@ function addStyle(cssText, id, parent) {
|
|||
function addStyleToHead(style, attr, parent) {
|
||||
//parent is shadowroot
|
||||
if (parent || !options.staticStyleMapping[attr]) {
|
||||
addStyle(scoper(style, attr), attr, parent);
|
||||
"undefined" != typeof wx && wx.getSystemInfoSync || addStyle(scoper(style, attr), attr, parent);
|
||||
//don't cache when is shadowroot
|
||||
if (!parent) {
|
||||
options.staticStyleMapping[attr] = true;
|
||||
|
|
Loading…
Reference in New Issue