the vue page currently being written has the following different states, and my way of writing it is as follows
data: function () {
return {
state: 1, // 1: 2: 3: 4: 5
deliveryState: 1, //:1: 2:
}
},
write
if you change the state.this.state=2
I don"t think it"s good to write the page state like this
1. If you don"t know the state code when assigning the state, you don"t know how to assign it
2. If you want to use more than one page, you have to write it in data. If you write the status separately in the js file, is there any good way to write it? is there any good way to write it? code scum, please teach