index.js 2.0 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tui-chat/message-elements/file-message/index"],{"027b":function(n,e,t){"use strict";var a;t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return a}));var o=function(){var n=this,e=n.$createElement;n._self._c},c=[]},"2c9b":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{Show:!1,filePayload:{}}},components:{},props:{message:{type:Object,default:function(){}},isMine:{type:Boolean,default:!0}},watch:{message:{handler:function(n){this.filePayload=n.payload},immediate:!0,deep:!0}},methods:{download:function(){this.Show=!0},downloadConfirm:function(){n.downloadFile({url:this.filePayload.fileUrl,success:function(e){var t=e.tempFilePath;n.openDocument({filePath:t,success:function(){console.log("打开文档成功")}})}})},cancel:function(){this.Show=!1}}};e.default=t}).call(this,t("543d")["default"])},7217:function(n,e,t){"use strict";t.r(e);var a=t("2c9b"),o=t.n(a);for(var c in a)"default"!==c&&function(n){t.d(e,n,(function(){return a[n]}))}(c);e["default"]=o.a},"8c20":function(n,e,t){"use strict";var a=t("ad93"),o=t.n(a);o.a},aad2:function(n,e,t){"use strict";t.r(e);var a=t("027b"),o=t("7217");for(var c in o)"default"!==c&&function(n){t.d(e,n,(function(){return o[n]}))}(c);t("8c20");var u,i=t("f0c5"),l=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);e["default"]=l.exports},ad93:function(n,e,t){}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/tui-chat/message-elements/file-message/index-create-component',
  4. {
  5. 'components/tui-chat/message-elements/file-message/index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("aad2"))
  7. })
  8. },
  9. [['components/tui-chat/message-elements/file-message/index-create-component']]
  10. ]);