Commit 92b01eb2 by qlintonger xeno

feat: AI格式化processing+4156

parent 9731a099
import {Processing} from '@/lib/XMLProcessor/src/core/Processing.ts'
import {Plugin} from 'vue'
const p = new Processing()
export const XMLProcessing: Plugin = function(app) {
const p = new Processing()
app.provide('xmlProcessing', p);
}
export function useXMLProcessing(): Processing {
try {
return <Processing>inject('xmlProcessing')
} catch (e) {
return p
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment