Dialog boxes in element use calculation properties

clipboard.png
this is the dialog box of element. The requirement is that when the user clicks the drop-down box to select, enter the number of posts issued. I want to calculate the total price of face value and the total price of unit price. The problem now is that the drop-down box of face value / unit price is spliced into the style of 2x2 by myself, so when the user clicks the selection, it triggers the change event and gets the string "2can2" that the user clicks and selects. Then split ("/") is divided into an array to get the face value, and the unit price, using the calculation attribute, but the calculation attribute will be calculated as soon as it enters the page, but at this time the face value and unit price are empty array, and there is no value, so the report is wrong, all the gods ask for advice! Or is there any other way to solve

Mar.25,2022

if (true) {} operation when defining a variable calculation in data

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-1b3ae2e-2b5b1.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-1b3ae2e-2b5b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?