vg-print 1.0.205 → 1.0.207

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/README.md CHANGED
@@ -28,6 +28,7 @@ import { createApp } from 'vue'
28
28
  import App from './App.vue'
29
29
  import HiprintDesigner from 'vg-print'
30
30
  import 'vg-print/style.css'
31
+ import 'element-plus/dist/index.css'
31
32
 
32
33
  const app = createApp(App)
33
34
  app.use(HiprintDesigner, { name: '$hiPrint', autoConnect: true })
@@ -269,6 +270,7 @@ await tpl.toImage({ name: 'i不简' }, { isDownload: true, type: 'image/jpeg', p
269
270
  - 导入样式 `import 'vg-print/style.css'` 报错:确认包已构建且 `node_modules/vg-print/dist/style.css` 存在;若从本地/仓库直接安装,先执行 `npm run build:lib` 或依赖包的 `prepare`
270
271
  - WebSocket `TransportError`:这是自动连接打印客户端失败的提示;如不使用客户端,安装时传入 `{ autoConnect: false }` 或在运行期调用 `disAutoConnect()`
271
272
  - 无样式/不可拖拽:请确保在应用入口已 `import 'vg-print/style.css'`,且安装了 `jquery` 依赖;如果使用 `pnpm`,也要确认 `jquery` 没被去重导致未被实际安装
273
+ - 组件按钮/弹窗无样式:请在入口额外引入 Element Plus 样式 `import 'element-plus/dist/index.css'`
272
274
 
273
275
  ## 打包与发布
274
276