提交 382742d8 编写于 作者: Q qiang

chore: build app

上级 561b0d19
...@@ -99,8 +99,8 @@ var serviceContext = (function (vue) { ...@@ -99,8 +99,8 @@ var serviceContext = (function (vue) {
map[list[i]] = true; map[list[i]] = true;
} }
return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val]; return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];
} }
(process.env.NODE_ENV !== 'production') (process.env.NODE_ENV !== 'production')
? Object.freeze({}) ? Object.freeze({})
: {}; : {};
...@@ -2857,6 +2857,15 @@ var serviceContext = (function (vue) { ...@@ -2857,6 +2857,15 @@ var serviceContext = (function (vue) {
UniServiceJSBridge.unsubscribe(getEventName(reqId)); UniServiceJSBridge.unsubscribe(getEventName(reqId));
} }
function getFileName(path) {
const array = path.split('/');
return array[array.length - 1];
}
function getExtName(path) {
const array = path.split('.');
return array.length > 1 ? '.' + array[array.length - 1] : '';
}
const DEVICE_FREQUENCY = 200; const DEVICE_FREQUENCY = 200;
const NETWORK_TYPES = [ const NETWORK_TYPES = [
'unknown', 'unknown',
...@@ -13413,15 +13422,6 @@ var serviceContext = (function (vue) { ...@@ -13413,15 +13422,6 @@ var serviceContext = (function (vue) {
plus.runtime.openDocument(getRealPath(filePath), undefined, resolve, errorCallback); plus.runtime.openDocument(getRealPath(filePath), undefined, resolve, errorCallback);
}, OpenDocumentProtocol, OpenDocumentOptions); }, OpenDocumentProtocol, OpenDocumentOptions);
function getFileName(path) {
const array = path.split('/');
return array[array.length - 1];
}
function getExtName(path) {
const array = path.split('.');
return array.length > 1 ? '.' + array[array.length - 1] : '';
}
let index$2 = 0; let index$2 = 0;
const SAVED_DIR = 'uniapp_save'; const SAVED_DIR = 'uniapp_save';
const SAVE_PATH = `_doc/${SAVED_DIR}`; const SAVE_PATH = `_doc/${SAVED_DIR}`;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册