@fangzhongya/vue-archive 0.0.3-22 → 0.0.3-23
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/dist/node/index.cjs +11 -2
- package/dist/node/index.js +11 -2
- package/package.json +1 -1
package/dist/node/index.cjs
CHANGED
|
@@ -66878,13 +66878,22 @@ function gettests(obj, arr, n) {
|
|
|
66878
66878
|
setMd(obj, arr);
|
|
66879
66879
|
});
|
|
66880
66880
|
} else {
|
|
66881
|
+
arr.push(`### \u793A\u4F8B1`);
|
|
66882
|
+
const dom = setHtml(
|
|
66883
|
+
"div",
|
|
66884
|
+
{
|
|
66885
|
+
class: "compo-top"
|
|
66886
|
+
},
|
|
66887
|
+
[]
|
|
66888
|
+
);
|
|
66889
|
+
arr.push(...setDom(dom));
|
|
66881
66890
|
const name = "cs";
|
|
66882
66891
|
let key = configObj.example.dir + "/" + getLevelUrl(configObj.example.level, obj) + "/" + obj.value + "/" + name + "/index.vue";
|
|
66883
66892
|
key = key.replace(/\/\//g, "/").replace(/\/\//g, "/");
|
|
66884
66893
|
arr.push(
|
|
66885
66894
|
...setTestUrl(obj, {
|
|
66886
66895
|
key,
|
|
66887
|
-
name
|
|
66896
|
+
value: name
|
|
66888
66897
|
})
|
|
66889
66898
|
);
|
|
66890
66899
|
setVue(getName(obj), n, _path.join.call(void 0, configObj.dir, key));
|
|
@@ -66998,7 +67007,7 @@ function setTestUrl(obj, test) {
|
|
|
66998
67007
|
if (configObj.setTest) {
|
|
66999
67008
|
arr.push(...configObj.setTest(url, test, obj));
|
|
67000
67009
|
} else {
|
|
67001
|
-
arr.push(`:::preview ${test.
|
|
67010
|
+
arr.push(`:::preview ${test.value} || `);
|
|
67002
67011
|
arr.push(`demo-preview=${url}`);
|
|
67003
67012
|
arr.push(`:::`);
|
|
67004
67013
|
}
|
package/dist/node/index.js
CHANGED
|
@@ -66878,13 +66878,22 @@ function gettests(obj, arr, n) {
|
|
|
66878
66878
|
setMd(obj, arr);
|
|
66879
66879
|
});
|
|
66880
66880
|
} else {
|
|
66881
|
+
arr.push(`### \u793A\u4F8B1`);
|
|
66882
|
+
const dom = setHtml(
|
|
66883
|
+
"div",
|
|
66884
|
+
{
|
|
66885
|
+
class: "compo-top"
|
|
66886
|
+
},
|
|
66887
|
+
[]
|
|
66888
|
+
);
|
|
66889
|
+
arr.push(...setDom(dom));
|
|
66881
66890
|
const name = "cs";
|
|
66882
66891
|
let key = configObj.example.dir + "/" + getLevelUrl(configObj.example.level, obj) + "/" + obj.value + "/" + name + "/index.vue";
|
|
66883
66892
|
key = key.replace(/\/\//g, "/").replace(/\/\//g, "/");
|
|
66884
66893
|
arr.push(
|
|
66885
66894
|
...setTestUrl(obj, {
|
|
66886
66895
|
key,
|
|
66887
|
-
name
|
|
66896
|
+
value: name
|
|
66888
66897
|
})
|
|
66889
66898
|
);
|
|
66890
66899
|
setVue(getName(obj), n, join4(configObj.dir, key));
|
|
@@ -66998,7 +67007,7 @@ function setTestUrl(obj, test) {
|
|
|
66998
67007
|
if (configObj.setTest) {
|
|
66999
67008
|
arr.push(...configObj.setTest(url, test, obj));
|
|
67000
67009
|
} else {
|
|
67001
|
-
arr.push(`:::preview ${test.
|
|
67010
|
+
arr.push(`:::preview ${test.value} || `);
|
|
67002
67011
|
arr.push(`demo-preview=${url}`);
|
|
67003
67012
|
arr.push(`:::`);
|
|
67004
67013
|
}
|