logic-helper
Version:
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
16 lines (13 loc) • 324 B
JavaScript
import {
store
} from '@/common/js/app.js'
export function get_controller_config(id){
return store.controller.getConfig(id);
}
export function each_process(data){
store.controller.addLog(data)
}
export function init_process(data){
console.log('init_process',data)
store.controller.initLog(data.code)
}