add dist files

This commit is contained in:
pengfei.zhou 2020-02-19 18:49:00 +08:00 committed by osborn
parent 033b881106
commit 93d26c05fd
4 changed files with 8 additions and 5 deletions

View File

@ -8,3 +8,4 @@ CURRENT_DIR=$(cd $(dirname $0); pwd)
cd $CURRENT_DIR/doric-js && npm run build
cd $CURRENT_DIR/doric-demo && npm run build
cd $CURRENT_DIR/doric-web && npm run build

View File

@ -3396,12 +3396,12 @@ function navbar(context) {
function navigator(context) {
return {
push: (scheme, config) => {
push: (source, config) => {
if (config && config.extra) {
config.extra = JSON.stringify(config.extra);
}
return context.callNative('navigator', 'push', {
scheme, config
source, config
});
},
pop: (animated = true) => {
@ -4811,8 +4811,8 @@ var doric_web = (function (exports, axios, sandbox) {
var _a;
if (this.navigation) {
const div = new DoricElement;
div.src = args.scheme;
div.alias = ((_a = args.config) === null || _a === void 0 ? void 0 : _a.alias) || args.scheme;
div.src = args.source;
div.alias = ((_a = args.config) === null || _a === void 0 ? void 0 : _a.alias) || args.source;
this.navigation.push(div);
return Promise.resolve();
}

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,8 @@ CURRENT_VERSION=$(cat $CURRENT_DIR/version)
echo "Current version is "$CURRENT_VERSION
cd $CURRENT_DIR && sh bundle.sh
# Modify
## JS