You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
11 KiB
1 lines
11 KiB
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"04c6":function(t,e,n){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var o=uni.requireGlobal();ArrayBuffer=o.ArrayBuffer,Int8Array=o.Int8Array,Uint8Array=o.Uint8Array,Uint8ClampedArray=o.Uint8ClampedArray,Int16Array=o.Int16Array,Uint16Array=o.Uint16Array,Int32Array=o.Int32Array,Uint32Array=o.Uint32Array,Float32Array=o.Float32Array,Float64Array=o.Float64Array,BigInt64Array=o.BigInt64Array,BigUint64Array=o.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/index/index",(function(){return Vue.extend(n("2e17").default)}))},"0de9":function(t,e,n){"use strict";function o(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function i(t,e){switch(o(e)){case"Function":return"function() { [native code] }";default:return e}}function u(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];console[t].apply(console,n)}function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=e.shift();if(r())return e.push(e.pop().replace("at ","uni-app:///")),console[u].apply(console,e);var a=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,i)+"---END:JSON---"}catch(r){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var n=o(t).toUpperCase();t="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+t+"---END:"+n+"---":String(t)}return t})),c="";if(a.length>1){var l=a.pop();c=a.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=a[0];console[u](c)}n.r(e),n.d(e,"log",(function(){return u})),n.d(e,"default",(function(){return a}))},"2e17":function(t,e,n){"use strict";n.r(e);var o=n("ec38"),r=n("4bb1");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var u=n("f0c5"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=a.exports},3395:function(t,e,n){"use strict";var o=n("4ea4"),r=o(n("9523"));n("04c6");var i=o(n("556e")),u=o(n("8bbf"));function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}n("60d7"),u.default.config.productionTip=!1,i.default.mpType="app";var c=new u.default(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},i.default));c.$mount()},"4bb1":function(t,e,n){"use strict";n.r(e);var o=n("9389"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"556e":function(t,e,n){"use strict";n.r(e);var o=n("c376");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);var i=n("f0c5"),u=Object(i["a"])(o["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=u.exports},"60d7":function(t,e,n){var o=n("7037");uni.addInterceptor({returnValue:function(t){return!t||"object"!==o(t)&&"function"!==typeof t||"function"!==typeof t.then?t:new Promise((function(e,n){t.then((function(t){return t[0]?n(t[0]):e(t[1])}))}))}})},7037:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},9389:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=uni.requireNativePlugin("Zhimi-FTP-Module"),o={data:function(){return{title:"Hello"}},onLoad:function(){},methods:{connectFtpServer:function(){n.connectFtpServer("ftpupload.net",21,"if0_37048644","CkWDCRfWZaaeVf","gbk",(function(e){t("log",e," at pages/index/index.vue:37")}))},ftpUploadFiles:function(){n.ftpUploadFile("/storage/emulated/0/Download/downloaded_rom","/htdocs",(function(e){t("log",e," at pages/index/index.vue:42")}))},ftpUploadFile:function(){var e=plus.io.convertLocalFileSystemURL("/static/logo.png");n.ftpUploadFile(e,"htdocs",(function(e){t("log",e," at pages/index/index.vue:48")}))},ftpDownloadSingleFile:function(){n.ftpDownloadSingleFile("/storage/emulated/0/Download","/htdocs/downloaded_rom/test.jpg",(function(e){t("log",e," at pages/index/index.vue:54")}))},ftpLoopServerPath:function(){n.ftpLoopServerPath("",(function(e){t("log",e," at pages/index/index.vue:59")}))},ftpDeleteServerFiles:function(){n.ftpDeleteServerFiles("/htdocs/downloaded_rom",(function(e){t("log",e," at pages/index/index.vue:64")}))},ftpDeleteServerFilesWithoutDirectory:function(){n.ftpDeleteServerFilesWithoutDirectory("downloaded_rom",(function(e){t("log",e," at pages/index/index.vue:69")}))},closeFTPConnect:function(){n.closeFTPConnect((function(e){t("log",e," at pages/index/index.vue:74")}))},connectFtpsServer:function(){n.connectFtpsServer("ftpupload.net",21,"if0_37048644","CkWDCRfWZaaeVf","gbk",(function(e){t("log",e," at pages/index/index.vue:79")}))},ftpsUploadFiles:function(){n.ftpsUploadFile("/storage/emulated/0/Download/downloaded_rom","htdocs",(function(e){t("log",e," at pages/index/index.vue:84")}))},ftpsUploadFile:function(){var e=plus.io.convertLocalFileSystemURL("/static/logo.png");n.ftpsUploadFile(e,"htdocs",(function(e){t("log",e," at pages/index/index.vue:90")}))},ftpsDownloadSingleFile:function(){n.ftpsDownloadSingleFile("/storage/emulated/0/Download","/htdocs/downloaded_rom/test.jpg",(function(e){t("log",e," at pages/index/index.vue:96")}))},ftpsLoopServerPath:function(){n.ftpsLoopServerPath("",(function(e){t("log",e," at pages/index/index.vue:101")}))},ftpsDeleteServerFiles:function(){n.ftpsDeleteServerFiles("downloaded_rom",(function(e){t("log",e," at pages/index/index.vue:106")}))},ftpsDeleteServerFilesWithoutDirectory:function(){n.ftpsDeleteServerFilesWithoutDirectory("downloaded_rom",(function(e){t("log",e," at pages/index/index.vue:111")}))},closeFTPSConnect:function(){n.closeFTPSConnect((function(e){t("log",e," at pages/index/index.vue:116")}))}}};e.default=o}).call(this,n("0de9")["default"])},9523:function(t,e,n){var o=n("a395");t.exports=function(t,e,n){return e=o(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},a395:function(t,e,n){var o=n("7037")["default"],r=n("e50d");t.exports=function(t){var e=r(t,"string");return"symbol"===o(e)?e:String(e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},c376:function(t,e,n){"use strict";n.r(e);var o=n("c6ed"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},c6ed:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={onLaunch:function(){t("log","App Launch"," at App.vue:4")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=n}).call(this,n("0de9")["default"])},e50d:function(t,e,n){var o=n("7037")["default"];t.exports=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},ec38:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[n("button",{attrs:{_i:1},on:{click:function(e){return t.connectFtpServer()}}}),n("button",{attrs:{_i:2},on:{click:function(e){return t.ftpUploadFiles()}}}),n("button",{attrs:{_i:3},on:{click:function(e){return t.ftpUploadFile()}}}),n("button",{attrs:{_i:4},on:{click:function(e){return t.ftpDownloadSingleFile()}}}),n("button",{attrs:{_i:5},on:{click:function(e){return t.ftpLoopServerPath()}}}),n("button",{attrs:{_i:6},on:{click:function(e){return t.ftpDeleteServerFiles()}}}),n("button",{attrs:{_i:7},on:{click:function(e){return t.ftpDeleteServerFilesWithoutDirectory()}}}),n("button",{attrs:{_i:8},on:{click:function(e){return t.closeFTPConnect()}}}),n("button",{attrs:{_i:9},on:{click:function(e){return t.connectFtpsServer()}}}),n("button",{attrs:{_i:10},on:{click:function(e){return t.ftpsUploadFiles()}}}),n("button",{attrs:{_i:11},on:{click:function(e){return t.ftpsUploadFile()}}}),n("button",{attrs:{_i:12},on:{click:function(e){return t.ftpsDownloadSingleFile()}}}),n("button",{attrs:{_i:13},on:{click:function(e){return t.ftpsLoopServerPath()}}}),n("button",{attrs:{_i:14},on:{click:function(e){return t.ftpsDeleteServerFiles()}}}),n("button",{attrs:{_i:15},on:{click:function(e){return t.ftpsDeleteServerFilesWithoutDirectory()}}}),n("button",{attrs:{_i:16},on:{click:function(e){return t.closeFTPSConnect()}}})])},r=[]},f0c5:function(t,e,n){"use strict";function o(t,e,n,o,r,i,u,a,c,l){var f,s="function"===typeof t?t.options:t;if(c){s.components||(s.components={});var p=Object.prototype.hasOwnProperty;for(var d in c)p.call(c,d)&&!p.call(s.components,d)&&(s.components[d]=c[d])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(s.mixins||(s.mixins=[])).push(l)),e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),o&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),u?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},s._ssrRegister=f):r&&(f=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),f)if(s.functional){s._injectStyles=f;var v=s.render;s.render=function(t,e){return f.call(e),v(t,e)}}else{var g=s.beforeCreate;s.beforeCreate=g?[].concat(g,f):[f]}return{exports:t,options:s}}n.d(e,"a",(function(){return o}))}},[["3395","app-config"]]]);
|