@nebulars/sseengine 1.3.86 → 1.3.90
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
|
@@ -148,11 +148,13 @@ export default {
|
|
|
148
148
|
async intoEditable(e, item) {
|
|
149
149
|
this.origin = item.content;
|
|
150
150
|
this.editable = true;
|
|
151
|
+
await this.$store.dispatch('sseengine/STATE_UPDATE', { editable: true });
|
|
151
152
|
},
|
|
152
153
|
|
|
153
154
|
async cancelHandler(e) {
|
|
154
155
|
this.origin = '';
|
|
155
156
|
this.editable = false;
|
|
157
|
+
await this.$store.dispatch('sseengine/STATE_UPDATE', { editable: false });
|
|
156
158
|
},
|
|
157
159
|
|
|
158
160
|
async submitHandler(e, item) {
|
|
@@ -170,6 +172,9 @@ export default {
|
|
|
170
172
|
|
|
171
173
|
// Update Active
|
|
172
174
|
this.updateActive(children.length + 1);
|
|
175
|
+
|
|
176
|
+
// Update Editable
|
|
177
|
+
await this.$store.dispatch('sseengine/STATE_UPDATE', { editable: false });
|
|
173
178
|
},
|
|
174
179
|
|
|
175
180
|
async enterHandler(e, item) {
|