routeDialog.js 2.0 KB

1234567891011
  1. require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["devTools/page/components/dialog/routeDialog"],{"048d":function(t,n,o){"use strict";o.r(n);var e=o("a909"),i=o.n(e);for(var u in e)["default"].indexOf(u)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(u);n["default"]=i.a},"1f5e":function(t,n,o){"use strict";o.r(n);var e=o("52eb"),i=o("048d");for(var u in i)["default"].indexOf(u)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(u);o("c1c4");var a=o("828b"),c=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"4b793d1d",null,!1,e["a"],void 0);n["default"]=c.exports},"52eb":function(t,n,o){"use strict";o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},i=[]},a909:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{isShow:!1,path:"",height:t.getSystemInfoSync().windowHeight}},mounted:function(){var n=this;t.$on("devTools_showRouteDialog",(function(t){n.path=t||"",n.isShow=!0}))},beforeDestroy:function(){t.$off("devTools_showRouteDialog")},methods:{hide:function(){this.isShow=!1},goPath:function(){var n=String(this.path);return n=n.replace(/[\r\n\s]+/g,""),"/"!==n.substring(0,1)?t.showToast({title:"页面路径需以“/”开头!",icon:"none"}):n.length<2?t.showToast({title:"请输入正确的路径!",icon:"none"}):void t.navigateTo({url:n})}}};n.default=o}).call(this,o("df3c")["default"])},c059:function(t,n,o){},c1c4:function(t,n,o){"use strict";var e=o("c059"),i=o.n(e);i.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'devTools/page/components/dialog/routeDialog-create-component',
  4. {
  5. 'devTools/page/components/dialog/routeDialog-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("1f5e"))
  7. })
  8. },
  9. [['devTools/page/components/dialog/routeDialog-create-component']]
  10. ]);