@cmstops/pro-compo 0.1.49 → 0.1.51

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.
@@ -100,6 +100,9 @@ const _sfc_main = defineComponent({
100
100
  v.target_type = 17;
101
101
  v.pub_time = v.updateTime;
102
102
  v.update_time = v.updateTime;
103
+ v.content = JSON.stringify(v);
104
+ v.content_title = v.title;
105
+ v.series = "eqxiu";
103
106
  return v;
104
107
  }) || [];
105
108
  page.value.total = count || 0;
@@ -74,10 +74,11 @@ const _sfc_main = defineComponent({
74
74
  const getBase64 = (imgUrl) => {
75
75
  window.URL = window.URL || window.webkitURL;
76
76
  const xhr = new XMLHttpRequest();
77
- xhr.open("get", imgUrl, true);
77
+ const sparator = imgUrl.includes("?") ? "&" : "?";
78
+ xhr.open("get", `${imgUrl}${sparator}_t=${new Date().getTime()}`, true);
78
79
  xhr.responseType = "blob";
79
80
  xhr.send();
80
- xhr.onload = function() {
81
+ xhr.onload = () => {
81
82
  if (xhr.status === 200) {
82
83
  const blob = xhr.response;
83
84
  const oFileReader = new FileReader();
@@ -101,6 +101,9 @@ const _sfc_main = vue.defineComponent({
101
101
  v.target_type = 17;
102
102
  v.pub_time = v.updateTime;
103
103
  v.update_time = v.updateTime;
104
+ v.content = JSON.stringify(v);
105
+ v.content_title = v.title;
106
+ v.series = "eqxiu";
104
107
  return v;
105
108
  }) || [];
106
109
  page.value.total = count || 0;
@@ -81,10 +81,11 @@ const _sfc_main = vue.defineComponent({
81
81
  const getBase64 = (imgUrl) => {
82
82
  window.URL = window.URL || window.webkitURL;
83
83
  const xhr = new XMLHttpRequest();
84
- xhr.open("get", imgUrl, true);
84
+ const sparator = imgUrl.includes("?") ? "&" : "?";
85
+ xhr.open("get", `${imgUrl}${sparator}_t=${new Date().getTime()}`, true);
85
86
  xhr.responseType = "blob";
86
87
  xhr.send();
87
- xhr.onload = function() {
88
+ xhr.onload = () => {
88
89
  if (xhr.status === 200) {
89
90
  const blob = xhr.response;
90
91
  const oFileReader = new FileReader();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",