@nebulars/sseengine 1.3.94 → 1.3.97
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/package.json
CHANGED
|
@@ -138,13 +138,11 @@ export default {
|
|
|
138
138
|
|
|
139
139
|
inject: ['updateActive'],
|
|
140
140
|
|
|
141
|
-
|
|
141
|
+
methods: {
|
|
142
142
|
noEditable() {
|
|
143
143
|
return this.$util.$('[data-editable]').length <= 1;
|
|
144
144
|
},
|
|
145
|
-
},
|
|
146
145
|
|
|
147
|
-
methods: {
|
|
148
146
|
async copySuccess(e) {
|
|
149
147
|
this.copied = true;
|
|
150
148
|
await this.$util.kitchen.sleep(10);
|
|
@@ -160,7 +158,7 @@ export default {
|
|
|
160
158
|
async cancelHandler(e) {
|
|
161
159
|
this.origin = '';
|
|
162
160
|
this.editable = false;
|
|
163
|
-
if (this.noEditable) {
|
|
161
|
+
if (this.noEditable()) {
|
|
164
162
|
await this.$store.dispatch('sseengine/STATE_UPDATE', { editable: false });
|
|
165
163
|
}
|
|
166
164
|
},
|