hc-basic 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hc-basic.common.js +20 -18
- package/lib/hc-basic.umd.js +20 -18
- package/lib/hc-basic.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/hc-basic.common.js
CHANGED
|
@@ -81248,7 +81248,10 @@ var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
|
|
|
81248
81248
|
},
|
|
81249
81249
|
table: {
|
|
81250
81250
|
noData: 'https://frontendonline-erp.ocj.com.cn/img/nodata.png', // 没有数据展示图片,可通过require导入本地图片
|
|
81251
|
-
optionLabel: '操作' // table操作列名称
|
|
81251
|
+
optionLabel: '操作', // table操作列名称
|
|
81252
|
+
imgWidth: '80px',
|
|
81253
|
+
imgHeight: '80px',
|
|
81254
|
+
imgDialogWidth: '1200px'
|
|
81252
81255
|
},
|
|
81253
81256
|
desc: {
|
|
81254
81257
|
color: {
|
|
@@ -81289,9 +81292,9 @@ var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
|
|
|
81289
81292
|
dialogDrag: {},
|
|
81290
81293
|
onlyNumber: {},
|
|
81291
81294
|
watermark: {
|
|
81292
|
-
width:
|
|
81293
|
-
height:
|
|
81294
|
-
fillStyle: 'rgba(180, 180, 180, 0
|
|
81295
|
+
width: 0, // 水印宽度
|
|
81296
|
+
height: 0, // 水印高度
|
|
81297
|
+
fillStyle: 'rgba(180, 180, 180, 0)', // 文字颜色
|
|
81295
81298
|
font: '16px Microsoft JhengHei', // 文本字体大小字体类型
|
|
81296
81299
|
title: '', // 水印标题
|
|
81297
81300
|
subTitle: '' // 水印副标题
|
|
@@ -82877,13 +82880,13 @@ var tab_component = normalizeComponent(
|
|
|
82877
82880
|
// CONCATENATED MODULE: ./packages/components/tab/index.js
|
|
82878
82881
|
|
|
82879
82882
|
|
|
82880
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3165804a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/table/index.vue?vue&type=template&id=
|
|
82881
|
-
var
|
|
82883
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3165804a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/table/index.vue?vue&type=template&id=6a5c6c0f&
|
|
82884
|
+
var tablevue_type_template_id_6a5c6c0f_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-table',_vm._g(_vm._b({directives:[{name:"watermark",rawName:"v-watermark",value:({ title: _vm.$Config.directives.watermark.title, subTitle: _vm.$Config.directives.watermark.subTitle }),expression:"{ title: $Config.directives.watermark.title, subTitle: $Config.directives.watermark.subTitle }"}],ref:"multipleTable",staticClass:"hcTable",staticStyle:{"width":"100%"},attrs:{"data":_vm.tableData,"cell-class-name":_vm.cellConfigSet},on:{"select":_vm.$comSelect,"select-all":_vm.$comSelect},scopedSlots:_vm._u([{key:"empty",fn:function(){return [_c('img',{staticClass:"my-24",attrs:{"src":_vm.$Config.Components.table.noData,"alt":""}})]},proxy:true}])},'el-table',_vm.$attrs,false),_vm.$listeners),[(_vm.checkbox)?_c('el-table-column',{attrs:{"fixed":_vm.showFixed,"reserve-selection":_vm.reserveSelection,"type":"selection","width":"44"}}):_vm._e(),(_vm.expand)?_c('el-table-column',{attrs:{"fixed":_vm.showFixed,"type":"expand","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._t("expand",null,null,scope)]}}],null,true)}):_vm._e(),_vm._l((_vm.column),function(item,index){return _c('el-table-column',_vm._b({key:'hctable' + index,class:item.code,attrs:{"formatter":item.code ? _vm.setFormatData(item) : item.formatter,"fixed":_vm.showFixed && item.fixed,"show-overflow-tooltip":!item['hidden-overflow-tooltip']},scopedSlots:_vm._u([(_vm.isShowHeader(item.prop))?{key:"header",fn:function(scope){return [_vm._t(item.prop + 'Header',null,null,scope)]}}:null,(_vm.isShowSlots(item.prop))?{key:"default",fn:function(scope){return [(item.image)?_c('hc-dialog',{attrs:{"out-close":_vm.outClose,"close-on-click-modal":"","title":"","width":_vm.$Config.Components.table.imgDialogWidth}},[_c('img',{directives:[{name:"errImg",rawName:"v-errImg",value:({ empty: false }),expression:"{ empty: false }"}],staticClass:"hc-table-slot-image",style:({ width: item.imgWidth || _vm.$Config.Components.table.imgWidth, height: item.imgHeight || _vm.$Config.Components.table.imgHeight }),attrs:{"src":item.prop,"alt":item.label}}),_c('img',{directives:[{name:"errImg",rawName:"v-errImg"}],staticClass:"hc-table-slot-dialog-image",attrs:{"slot":"contain","src":item.prop,"alt":""},slot:"contain"})]):(item.copy)?_c('div',{directives:[{name:"copy",rawName:"v-copy",value:([scope.row[item.prop]]),expression:"[scope.row[item.prop]]"}]},[_vm._v(" "+_vm._s(scope.row[item.prop])+" ")]):_vm._t(item.prop,null,null,scope)]}}:null],null,true)},'el-table-column',{ ...item },false),_vm._l((item.children),function(items,indexs){return (item.children)?_c('childTable',{key:'otables' + indexs,attrs:{"data":items,"show-slots":_vm.showSlots},scopedSlots:_vm._u([_vm._l((_vm.showSlots),function(slotName,slotIndex){return {key:slotName,fn:function(scope){return [_c('div',{key:slotIndex + 'slotName'},[_vm._t(slotName,null,null,scope)],2)]}}})],null,true)}):_vm._e()}),1)}),(_vm.operationWidth !== 'auto')?_c('el-table-column',{attrs:{"fixed":_vm.showFixed ? 'right' : false,"label":_vm.$Config.Components.table.optionLabel,"width":_vm.operationWidth},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._t("default",null,null,scope)]}}],null,true)}):_vm._e()],2)
|
|
82882
82885
|
}
|
|
82883
|
-
var
|
|
82886
|
+
var tablevue_type_template_id_6a5c6c0f_staticRenderFns = []
|
|
82884
82887
|
|
|
82885
82888
|
|
|
82886
|
-
// CONCATENATED MODULE: ./packages/components/table/index.vue?vue&type=template&id=
|
|
82889
|
+
// CONCATENATED MODULE: ./packages/components/table/index.vue?vue&type=template&id=6a5c6c0f&
|
|
82887
82890
|
|
|
82888
82891
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3165804a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/table/childTable/index.vue?vue&type=template&id=0587b934&
|
|
82889
82892
|
var childTablevue_type_template_id_0587b934_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-table-column',_vm._b({attrs:{"show-overflow-tooltip":!_vm.data['hidden-overflow-tooltip']},scopedSlots:_vm._u([(_vm.showSlots.includes(_vm.data.prop))?{key:"default",fn:function(scope){return [_vm._t(_vm.data.prop,null,null,scope)]}}:null],null,true)},'el-table-column',{ ..._vm.data },false),_vm._l((_vm.data.children),function(item,index){return (_vm.data.children)?_c('childTable',{key:'otables' + index,attrs:{"data":item,"show-slots":_vm.showSlots},scopedSlots:_vm._u([_vm._l((_vm.showSlots),function(slotName,slotIndex){return {key:slotName,fn:function(scope){return [_c('div',{key:slotIndex + 'slotName'},[_vm._t(slotName,null,null,scope)],2)]}}})],null,true)}):_vm._e()}),1)
|
|
@@ -82957,7 +82960,9 @@ var childTable_component = normalizeComponent(
|
|
|
82957
82960
|
showHeaders: { type: Array, default: () => [] }
|
|
82958
82961
|
},
|
|
82959
82962
|
data() {
|
|
82960
|
-
return {
|
|
82963
|
+
return {
|
|
82964
|
+
outClose: false
|
|
82965
|
+
};
|
|
82961
82966
|
},
|
|
82962
82967
|
computed: {
|
|
82963
82968
|
showSlots() {
|
|
@@ -83028,7 +83033,7 @@ var childTable_component = normalizeComponent(
|
|
|
83028
83033
|
const that = this;
|
|
83029
83034
|
return function (row) {
|
|
83030
83035
|
const result = (tCode_state.tCodeData[data.code] || []).find(e => row[data.prop] === e[that.$Config.Components.formItem.value]) || {};
|
|
83031
|
-
return result[that.$Config.Components.formItem.label] || row[data.prop];
|
|
83036
|
+
return result[that.$Config.Components.formItem.label] || row[data.prop] + '123123';
|
|
83032
83037
|
};
|
|
83033
83038
|
},
|
|
83034
83039
|
getSlots(data, result = []) {
|
|
@@ -83063,8 +83068,8 @@ var childTable_component = normalizeComponent(
|
|
|
83063
83068
|
|
|
83064
83069
|
var table_component = normalizeComponent(
|
|
83065
83070
|
components_tablevue_type_script_lang_js_,
|
|
83066
|
-
|
|
83067
|
-
|
|
83071
|
+
tablevue_type_template_id_6a5c6c0f_render,
|
|
83072
|
+
tablevue_type_template_id_6a5c6c0f_staticRenderFns,
|
|
83068
83073
|
false,
|
|
83069
83074
|
null,
|
|
83070
83075
|
null,
|
|
@@ -84317,9 +84322,9 @@ const copy = val => {
|
|
|
84317
84322
|
bind(el, { value }) {
|
|
84318
84323
|
el.$value = value; // 用一个全局属性来存传进来的值,因为这个值在别的钩子函数里还会用到
|
|
84319
84324
|
el.handler = () => {
|
|
84325
|
+
console.log(value, 'copy');
|
|
84320
84326
|
if (!el.$value) {
|
|
84321
|
-
// 值为空的时候,给出提示,我这里的提示是用的
|
|
84322
|
-
element_ui_common["Message"].warning('无复制内容');
|
|
84327
|
+
// 值为空的时候,给出提示,我这里的提示是用的 的提示,你们随意
|
|
84323
84328
|
return;
|
|
84324
84329
|
}
|
|
84325
84330
|
// 动态创建 textarea 标签
|
|
@@ -84335,10 +84340,7 @@ const copy = val => {
|
|
|
84335
84340
|
// 选中值并复制
|
|
84336
84341
|
textarea.select();
|
|
84337
84342
|
textarea.setSelectionRange(0, textarea.value.length);
|
|
84338
|
-
|
|
84339
|
-
if (result) {
|
|
84340
|
-
element_ui_common["Message"].success('复制成功');
|
|
84341
|
-
}
|
|
84343
|
+
document.execCommand('Copy') && element_ui_common["Message"].success('复制成功');
|
|
84342
84344
|
document.body.removeChild(textarea);
|
|
84343
84345
|
};
|
|
84344
84346
|
// 绑定点击事件,就是所谓的一键 copy 啦
|
package/lib/hc-basic.umd.js
CHANGED
|
@@ -81257,7 +81257,10 @@ var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
|
|
|
81257
81257
|
},
|
|
81258
81258
|
table: {
|
|
81259
81259
|
noData: 'https://frontendonline-erp.ocj.com.cn/img/nodata.png', // 没有数据展示图片,可通过require导入本地图片
|
|
81260
|
-
optionLabel: '操作' // table操作列名称
|
|
81260
|
+
optionLabel: '操作', // table操作列名称
|
|
81261
|
+
imgWidth: '80px',
|
|
81262
|
+
imgHeight: '80px',
|
|
81263
|
+
imgDialogWidth: '1200px'
|
|
81261
81264
|
},
|
|
81262
81265
|
desc: {
|
|
81263
81266
|
color: {
|
|
@@ -81298,9 +81301,9 @@ var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
|
|
|
81298
81301
|
dialogDrag: {},
|
|
81299
81302
|
onlyNumber: {},
|
|
81300
81303
|
watermark: {
|
|
81301
|
-
width:
|
|
81302
|
-
height:
|
|
81303
|
-
fillStyle: 'rgba(180, 180, 180, 0
|
|
81304
|
+
width: 0, // 水印宽度
|
|
81305
|
+
height: 0, // 水印高度
|
|
81306
|
+
fillStyle: 'rgba(180, 180, 180, 0)', // 文字颜色
|
|
81304
81307
|
font: '16px Microsoft JhengHei', // 文本字体大小字体类型
|
|
81305
81308
|
title: '', // 水印标题
|
|
81306
81309
|
subTitle: '' // 水印副标题
|
|
@@ -82886,13 +82889,13 @@ var tab_component = normalizeComponent(
|
|
|
82886
82889
|
// CONCATENATED MODULE: ./packages/components/tab/index.js
|
|
82887
82890
|
|
|
82888
82891
|
|
|
82889
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3165804a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/table/index.vue?vue&type=template&id=
|
|
82890
|
-
var
|
|
82892
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3165804a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/table/index.vue?vue&type=template&id=6a5c6c0f&
|
|
82893
|
+
var tablevue_type_template_id_6a5c6c0f_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-table',_vm._g(_vm._b({directives:[{name:"watermark",rawName:"v-watermark",value:({ title: _vm.$Config.directives.watermark.title, subTitle: _vm.$Config.directives.watermark.subTitle }),expression:"{ title: $Config.directives.watermark.title, subTitle: $Config.directives.watermark.subTitle }"}],ref:"multipleTable",staticClass:"hcTable",staticStyle:{"width":"100%"},attrs:{"data":_vm.tableData,"cell-class-name":_vm.cellConfigSet},on:{"select":_vm.$comSelect,"select-all":_vm.$comSelect},scopedSlots:_vm._u([{key:"empty",fn:function(){return [_c('img',{staticClass:"my-24",attrs:{"src":_vm.$Config.Components.table.noData,"alt":""}})]},proxy:true}])},'el-table',_vm.$attrs,false),_vm.$listeners),[(_vm.checkbox)?_c('el-table-column',{attrs:{"fixed":_vm.showFixed,"reserve-selection":_vm.reserveSelection,"type":"selection","width":"44"}}):_vm._e(),(_vm.expand)?_c('el-table-column',{attrs:{"fixed":_vm.showFixed,"type":"expand","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._t("expand",null,null,scope)]}}],null,true)}):_vm._e(),_vm._l((_vm.column),function(item,index){return _c('el-table-column',_vm._b({key:'hctable' + index,class:item.code,attrs:{"formatter":item.code ? _vm.setFormatData(item) : item.formatter,"fixed":_vm.showFixed && item.fixed,"show-overflow-tooltip":!item['hidden-overflow-tooltip']},scopedSlots:_vm._u([(_vm.isShowHeader(item.prop))?{key:"header",fn:function(scope){return [_vm._t(item.prop + 'Header',null,null,scope)]}}:null,(_vm.isShowSlots(item.prop))?{key:"default",fn:function(scope){return [(item.image)?_c('hc-dialog',{attrs:{"out-close":_vm.outClose,"close-on-click-modal":"","title":"","width":_vm.$Config.Components.table.imgDialogWidth}},[_c('img',{directives:[{name:"errImg",rawName:"v-errImg",value:({ empty: false }),expression:"{ empty: false }"}],staticClass:"hc-table-slot-image",style:({ width: item.imgWidth || _vm.$Config.Components.table.imgWidth, height: item.imgHeight || _vm.$Config.Components.table.imgHeight }),attrs:{"src":item.prop,"alt":item.label}}),_c('img',{directives:[{name:"errImg",rawName:"v-errImg"}],staticClass:"hc-table-slot-dialog-image",attrs:{"slot":"contain","src":item.prop,"alt":""},slot:"contain"})]):(item.copy)?_c('div',{directives:[{name:"copy",rawName:"v-copy",value:([scope.row[item.prop]]),expression:"[scope.row[item.prop]]"}]},[_vm._v(" "+_vm._s(scope.row[item.prop])+" ")]):_vm._t(item.prop,null,null,scope)]}}:null],null,true)},'el-table-column',{ ...item },false),_vm._l((item.children),function(items,indexs){return (item.children)?_c('childTable',{key:'otables' + indexs,attrs:{"data":items,"show-slots":_vm.showSlots},scopedSlots:_vm._u([_vm._l((_vm.showSlots),function(slotName,slotIndex){return {key:slotName,fn:function(scope){return [_c('div',{key:slotIndex + 'slotName'},[_vm._t(slotName,null,null,scope)],2)]}}})],null,true)}):_vm._e()}),1)}),(_vm.operationWidth !== 'auto')?_c('el-table-column',{attrs:{"fixed":_vm.showFixed ? 'right' : false,"label":_vm.$Config.Components.table.optionLabel,"width":_vm.operationWidth},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._t("default",null,null,scope)]}}],null,true)}):_vm._e()],2)
|
|
82891
82894
|
}
|
|
82892
|
-
var
|
|
82895
|
+
var tablevue_type_template_id_6a5c6c0f_staticRenderFns = []
|
|
82893
82896
|
|
|
82894
82897
|
|
|
82895
|
-
// CONCATENATED MODULE: ./packages/components/table/index.vue?vue&type=template&id=
|
|
82898
|
+
// CONCATENATED MODULE: ./packages/components/table/index.vue?vue&type=template&id=6a5c6c0f&
|
|
82896
82899
|
|
|
82897
82900
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3165804a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/table/childTable/index.vue?vue&type=template&id=0587b934&
|
|
82898
82901
|
var childTablevue_type_template_id_0587b934_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-table-column',_vm._b({attrs:{"show-overflow-tooltip":!_vm.data['hidden-overflow-tooltip']},scopedSlots:_vm._u([(_vm.showSlots.includes(_vm.data.prop))?{key:"default",fn:function(scope){return [_vm._t(_vm.data.prop,null,null,scope)]}}:null],null,true)},'el-table-column',{ ..._vm.data },false),_vm._l((_vm.data.children),function(item,index){return (_vm.data.children)?_c('childTable',{key:'otables' + index,attrs:{"data":item,"show-slots":_vm.showSlots},scopedSlots:_vm._u([_vm._l((_vm.showSlots),function(slotName,slotIndex){return {key:slotName,fn:function(scope){return [_c('div',{key:slotIndex + 'slotName'},[_vm._t(slotName,null,null,scope)],2)]}}})],null,true)}):_vm._e()}),1)
|
|
@@ -82966,7 +82969,9 @@ var childTable_component = normalizeComponent(
|
|
|
82966
82969
|
showHeaders: { type: Array, default: () => [] }
|
|
82967
82970
|
},
|
|
82968
82971
|
data() {
|
|
82969
|
-
return {
|
|
82972
|
+
return {
|
|
82973
|
+
outClose: false
|
|
82974
|
+
};
|
|
82970
82975
|
},
|
|
82971
82976
|
computed: {
|
|
82972
82977
|
showSlots() {
|
|
@@ -83037,7 +83042,7 @@ var childTable_component = normalizeComponent(
|
|
|
83037
83042
|
const that = this;
|
|
83038
83043
|
return function (row) {
|
|
83039
83044
|
const result = (tCode_state.tCodeData[data.code] || []).find(e => row[data.prop] === e[that.$Config.Components.formItem.value]) || {};
|
|
83040
|
-
return result[that.$Config.Components.formItem.label] || row[data.prop];
|
|
83045
|
+
return result[that.$Config.Components.formItem.label] || row[data.prop] + '123123';
|
|
83041
83046
|
};
|
|
83042
83047
|
},
|
|
83043
83048
|
getSlots(data, result = []) {
|
|
@@ -83072,8 +83077,8 @@ var childTable_component = normalizeComponent(
|
|
|
83072
83077
|
|
|
83073
83078
|
var table_component = normalizeComponent(
|
|
83074
83079
|
components_tablevue_type_script_lang_js_,
|
|
83075
|
-
|
|
83076
|
-
|
|
83080
|
+
tablevue_type_template_id_6a5c6c0f_render,
|
|
83081
|
+
tablevue_type_template_id_6a5c6c0f_staticRenderFns,
|
|
83077
83082
|
false,
|
|
83078
83083
|
null,
|
|
83079
83084
|
null,
|
|
@@ -84326,9 +84331,9 @@ const copy = val => {
|
|
|
84326
84331
|
bind(el, { value }) {
|
|
84327
84332
|
el.$value = value; // 用一个全局属性来存传进来的值,因为这个值在别的钩子函数里还会用到
|
|
84328
84333
|
el.handler = () => {
|
|
84334
|
+
console.log(value, 'copy');
|
|
84329
84335
|
if (!el.$value) {
|
|
84330
|
-
// 值为空的时候,给出提示,我这里的提示是用的
|
|
84331
|
-
element_ui_common["Message"].warning('无复制内容');
|
|
84336
|
+
// 值为空的时候,给出提示,我这里的提示是用的 的提示,你们随意
|
|
84332
84337
|
return;
|
|
84333
84338
|
}
|
|
84334
84339
|
// 动态创建 textarea 标签
|
|
@@ -84344,10 +84349,7 @@ const copy = val => {
|
|
|
84344
84349
|
// 选中值并复制
|
|
84345
84350
|
textarea.select();
|
|
84346
84351
|
textarea.setSelectionRange(0, textarea.value.length);
|
|
84347
|
-
|
|
84348
|
-
if (result) {
|
|
84349
|
-
element_ui_common["Message"].success('复制成功');
|
|
84350
|
-
}
|
|
84352
|
+
document.execCommand('Copy') && element_ui_common["Message"].success('复制成功');
|
|
84351
84353
|
document.body.removeChild(textarea);
|
|
84352
84354
|
};
|
|
84353
84355
|
// 绑定点击事件,就是所谓的一键 copy 啦
|