@94ai/nf-confirm 100.1.5 → 100.1.6
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.
|
@@ -124,7 +124,8 @@ function merge(target) {
|
|
|
124
124
|
}
|
|
125
125
|
const ConfirmConstructor = vueDemi.Vue2.extend(NfConfirm);
|
|
126
126
|
const Confirm = function(options) {
|
|
127
|
-
|
|
127
|
+
var _a;
|
|
128
|
+
if ((_a = vueDemi.Vue2.prototype) == null ? void 0 : _a.$isServer)
|
|
128
129
|
return;
|
|
129
130
|
options = merge({}, options);
|
|
130
131
|
const instance = new ConfirmConstructor({
|
|
@@ -122,7 +122,8 @@ function merge(target) {
|
|
|
122
122
|
}
|
|
123
123
|
const ConfirmConstructor = Vue2.extend(NfConfirm);
|
|
124
124
|
const Confirm = function(options) {
|
|
125
|
-
|
|
125
|
+
var _a;
|
|
126
|
+
if ((_a = Vue2.prototype) == null ? void 0 : _a.$isServer)
|
|
126
127
|
return;
|
|
127
128
|
options = merge({}, options);
|
|
128
129
|
const instance = new ConfirmConstructor({
|
package/package/main.ts
CHANGED
|
@@ -4,7 +4,7 @@ import merge from 'element-ui/src/utils/merge';
|
|
|
4
4
|
const ConfirmConstructor = Vue2!.extend(Main);
|
|
5
5
|
|
|
6
6
|
const Confirm = function(options) {
|
|
7
|
-
if (Vue2!.prototype
|
|
7
|
+
if (Vue2!.prototype?.$isServer) return;
|
|
8
8
|
options = merge({}, options);
|
|
9
9
|
const instance = new ConfirmConstructor({
|
|
10
10
|
data: options
|
|
@@ -15,4 +15,4 @@ const Confirm = function(options) {
|
|
|
15
15
|
return instance;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
export default Confirm
|
|
18
|
+
export default Confirm
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-confirm",
|
|
3
|
-
"version": "100.1.
|
|
3
|
+
"version": "100.1.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zhongzhenjie <1476686104@qq.com>",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-theme-chalk": "^100.1.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^100.1.6",
|
|
18
18
|
"vue-demi": "^0.14.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependenciesMeta": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"types": "lib/index.d.ts",
|
|
31
31
|
"main": "lib/nf-confirm.cjs.cjs",
|
|
32
32
|
"module": "lib/nf-confirm.esm-bundler.mjs",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "9026240baa75f1b459275f767f772997d626686f"
|
|
34
34
|
}
|