@cmstops/pro-compo 0.3.61 → 0.3.62

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.
@@ -48,7 +48,6 @@ const _sfc_main = defineComponent({
48
48
  generate,
49
49
  cancel,
50
50
  copy,
51
- qrCode,
52
51
  shareData,
53
52
  innerUrl,
54
53
  expireTime,
@@ -57,7 +56,7 @@ const _sfc_main = defineComponent({
57
56
  isPublish
58
57
  } = useDocPreview(BASE_API, toRef(props, "hashid"));
59
58
  onMounted(() => {
60
- if (props.docInfo && [14, 19].includes(props.docInfo.state)) {
59
+ if (props.docInfo && [14, 15].includes(props.docInfo.state)) {
61
60
  if (props.docInfo.share_link) {
62
61
  genQrCode(props.docInfo.share_link, "qr-code-is-pub");
63
62
  return;
@@ -49,7 +49,6 @@ const _sfc_main = vue.defineComponent({
49
49
  generate,
50
50
  cancel,
51
51
  copy,
52
- qrCode,
53
52
  shareData,
54
53
  innerUrl,
55
54
  expireTime,
@@ -58,7 +57,7 @@ const _sfc_main = vue.defineComponent({
58
57
  isPublish
59
58
  } = hook.useDocPreview(BASE_API, vue.toRef(props, "hashid"));
60
59
  vue.onMounted(() => {
61
- if (props.docInfo && [14, 19].includes(props.docInfo.state)) {
60
+ if (props.docInfo && [14, 15].includes(props.docInfo.state)) {
62
61
  if (props.docInfo.share_link) {
63
62
  genQrCode(props.docInfo.share_link, "qr-code-is-pub");
64
63
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.61",
3
+ "version": "0.3.62",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",