diff --git a/src/toolbars/hooks/Copy.js b/src/toolbars/hooks/Copy.js index fdf621b90..a83c5e4eb 100644 --- a/src/toolbars/hooks/Copy.js +++ b/src/toolbars/hooks/Copy.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import juice from 'juice'; +// import juice from 'juice'; import MenuBase from '@/toolbars/MenuBase'; import { copyToClip } from '@/utils/copy'; /** @@ -104,11 +104,10 @@ export default class Copy extends MenuBase { // 将css样式以行内样式的形式插入到html内容里 this.adaptWechat(html).then((html) => { copyToClip( - juice( - `
-
${html}
-
${mathStyle + echartStyle + cherryStyle}`, - ), + `${mathStyle + echartStyle + cherryStyle} +
+
${html}
+
`, ); this.toggleLoading(); });