The novice rookie asks how to save the value calculated by computed for the first time in vue?

for example, an element-ui el-slider slider calculates the v-model value of the slider through computed, and the return value changes when the slider is dragged. How to save the initial slider"s calculated return value at the left end?

Mar.07,2021

if you want to save the state, use


to put it in data


I feel that this requirement can be realized without computed, according to the traditional way of thinking, event-driven, change the value, record the last value, isn't it good?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf72ea-3203e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf72ea-3203e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?